Explorar el Código

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

release_toaliyun_real
Stormeye Wu hace 7 años
padre
commit
fa14af219c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      mallinkService/src/main/resources/mapper/WxMsgLimitMapper.xml

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

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


Cargando…
Cancelar
Guardar