소스 검색

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

release_toaliyun_real
Stormeye Wu 7 년 전
부모
커밋
fa14af219c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      mallinkService/src/main/resources/mapper/WxMsgLimitMapper.xml

+ 1
- 1
mallinkService/src/main/resources/mapper/WxMsgLimitMapper.xml 파일 보기

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


불러오는 중...
취소
저장