diff --git a/mallinkService/src/main/resources/mapper/WxAuthorizerInfoMapper.xml b/mallinkService/src/main/resources/mapper/WxAuthorizerInfoMapper.xml index b507323ec..83d76d678 100644 --- a/mallinkService/src/main/resources/mapper/WxAuthorizerInfoMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxAuthorizerInfoMapper.xml @@ -3,8 +3,6 @@ - - @@ -14,20 +12,14 @@ - `id`,`tenant_id`,`official_account_id`,`authorizer_appid`,`head_img`,`alias`,`qrcode_url`,`create_time`,`authorization_status` + `id`,`authorizer_appid`,`head_img`,`alias`,`qrcode_url`,`create_time`,`authorization_status` where 1 = 1 and `id` = #{id} - - - and `tenant_id` like concat('%', #{tenantId},'%') - - - and `official_account_id` = #{officialAccountId} - + and `authorizer_appid` like concat('%', #{authorizerAppid},'%') diff --git a/mallinkService/src/main/resources/mapper/WxComponentVerifyTicketMapper.xml b/mallinkService/src/main/resources/mapper/WxComponentVerifyTicketMapper.xml index 4f0153e96..0d014429b 100644 --- a/mallinkService/src/main/resources/mapper/WxComponentVerifyTicketMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxComponentVerifyTicketMapper.xml @@ -3,7 +3,6 @@ - @@ -11,17 +10,14 @@ - `id`,`tenant_id`,`component_appid`,`component_verify_ticket`,`create_time`,`deadline` + `id`,`component_appid`,`component_verify_ticket`,`create_time`,`deadline` where 1 = 1 and `id` = #{id} - - - and `tenant_id` like concat('%', #{tenantId},'%') - + and `component_appid` like concat('%', #{componentAppid},'%')