|
|
|
@@ -62,7 +62,7 @@ |
|
|
|
</select> |
|
|
|
|
|
|
|
<update id="updateLimitNum" parameterType="com.iformall.domain.po.WxMsgLimit"> |
|
|
|
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 |
|
|
|
</update> |
|
|
|
|
|
|
|
<delete id="delLimitNum" parameterType="com.iformall.domain.po.WxMsgLimit"> |
|
|
|
|