Ver a proveniência

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

release_toaliyun_real
Stormeye Wu há 7 anos
ascendente
cometimento
fa14af219c
1 ficheiros alterados com 1 adições e 1 eliminações
  1. +1
    -1
      mallinkService/src/main/resources/mapper/WxMsgLimitMapper.xml

+ 1
- 1
mallinkService/src/main/resources/mapper/WxMsgLimitMapper.xml Ver ficheiro

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


Carregando…
Cancelar
Guardar