Procházet zdrojové kódy

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

release_toaliyun_real
Stormeye Wu před 7 roky
rodič
revize
fa14af219c
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      mallinkService/src/main/resources/mapper/WxMsgLimitMapper.xml

+ 1
- 1
mallinkService/src/main/resources/mapper/WxMsgLimitMapper.xml Zobrazit soubor

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


Načítá se…
Zrušit
Uložit