diff --git a/mallinkService/src/main/resources/mapper/WxMsgLimitMapper.xml b/mallinkService/src/main/resources/mapper/WxMsgLimitMapper.xml index d15537af8..6bd920408 100644 --- a/mallinkService/src/main/resources/mapper/WxMsgLimitMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxMsgLimitMapper.xml @@ -62,12 +62,12 @@ - update wx_msg_limit set limit_num = limit_num - 1 where `id` = #{id} and `tenant_id` = #{tenandId} 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 delete from wx_msg_limit - where `tenant_id` = #{tenandId} and `type`= #{type} and `limit_id` = #{limitId} + where `tenant_id` = #{tenantId} and `type`= #{type} and `limit_id` = #{limitId}