From d0228c9231e95f47034c3886b59942ff1788f459 Mon Sep 17 00:00:00 2001 From: Stormeye Wu Date: Mon, 24 Dec 2018 17:55:05 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=BE=AE=E4=BF=A1=E7=AC=AC=E4=B8=89=E6=96=B9?= =?UTF-8?q?=E5=BC=80=E6=94=BE=E5=B9=B3=E5=8F=B0][=E4=BF=AE=E5=A4=8D]:?= =?UTF-8?q?=E5=BC=82=E5=B8=B8=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/mapper/WxAuthorizerInfoMapper.xml | 12 ++---------- .../mapper/WxComponentVerifyTicketMapper.xml | 8 ++------ 2 files changed, 4 insertions(+), 16 deletions(-) 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},'%')