From fa14af219cfc7c71830b6262dc351065f87763a8 Mon Sep 17 00:00:00 2001 From: Stormeye Wu Date: Tue, 2 Jul 2019 14:59:02 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=B6=88=E6=81=AF=E9=99=90=E5=88=B6][?= =?UTF-8?q?=E4=BF=AE=E6=94=B9]:=E4=BF=AE=E6=94=B9update=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mallinkService/src/main/resources/mapper/WxMsgLimitMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mallinkService/src/main/resources/mapper/WxMsgLimitMapper.xml b/mallinkService/src/main/resources/mapper/WxMsgLimitMapper.xml index 6bd920408..0b8cde7ed 100644 --- a/mallinkService/src/main/resources/mapper/WxMsgLimitMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxMsgLimitMapper.xml @@ -62,7 +62,7 @@ - update wx_msg_limit set limit_num = limit_num - 1 where `id` = #{id} and `tenant_id` = #{tenantId} and limit_num > 1 + update wx_msg_limit set limit_num = limit_num - 1 where `id` = #{id} and `tenant_id` = #{tenantId} and limit_num >= 1