소스 검색

[系统][修复]:定时下架任务问题

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

+ 2
- 2
mallinkService/src/main/resources/mapper/WxCouponChannelMapper.xml 파일 보기

@@ -153,12 +153,12 @@
</update>

<update id="offExpiriedCouponChannelByValidDate">
update wx_coupon_channel, wx_coupon c SET cc.status = 1, cc.update_date = now()
update wx_coupon_channel cc, wx_coupon c SET cc.status = 1, cc.update_date = now()
where cc.status = 0 and cc.coupon_id = c.id and c.valid_type = 1 and valid_end_date &lt; now()
</update>

<update id="offExpiriedCouponChannelByCouponStatus">
update wx_coupon_channel, wx_coupon c SET cc.status = 1, cc.update_date = now()
update wx_coupon_channel cc, wx_coupon c SET cc.status = 1, cc.update_date = now()
where cc.status = 0 and cc.coupon_id = c.id and c.status = 1
</update>



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