Przeglądaj źródła

[消息限制][修改]:修改update条件

release_toaliyun_real
Stormeye Wu 7 lat temu
rodzic
commit
fa14af219c
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      mallinkService/src/main/resources/mapper/WxMsgLimitMapper.xml

+ 1
- 1
mallinkService/src/main/resources/mapper/WxMsgLimitMapper.xml Wyświetl plik

@@ -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">


Ładowanie…
Anuluj
Zapisz