From b8c753c0839fa6c0689a42daeed66deb8b17448e Mon Sep 17 00:00:00 2001 From: luozukai Date: Mon, 5 Aug 2019 11:22:43 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=90=88=E5=90=8C][=E4=BF=AE=E6=94=B9][?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A2=84=E8=B4=A6=E5=8D=95=E7=94=9F=E6=88=90?= =?UTF-8?q?=E9=80=BB=E8=BE=91]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/mapper/WxMsgValidationcodeModelMapper.xml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/mallinkService/src/main/resources/mapper/WxMsgValidationcodeModelMapper.xml b/mallinkService/src/main/resources/mapper/WxMsgValidationcodeModelMapper.xml index 5389fd157..dbcf6d198 100644 --- a/mallinkService/src/main/resources/mapper/WxMsgValidationcodeModelMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxMsgValidationcodeModelMapper.xml @@ -36,11 +36,8 @@ and `type` = #{type} and `tenant_id` = #{tenantId} and `open` = #{open} - - and id not in( - select id from wx_msg_validationcode_model where content like '<%' and `tenant_id` = #{tenantId} - ) - + and `msg_type` = #{msgType} + and `role_type` = #{roleType} and id in