From 41fee90d72f660f390c341a54dd1bcec62f0c18f Mon Sep 17 00:00:00 2001 From: hupeng Date: Tue, 11 Sep 2018 14:02:49 +0800 Subject: [PATCH] =?UTF-8?q?[=E7=B3=BB=E7=BB=9F][=E4=BF=AE=E5=A4=8D]:?= =?UTF-8?q?=E5=AE=9A=E6=97=B6=E4=B8=8B=E6=9E=B6=E4=BB=BB=E5=8A=A1=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/WxCouponChannelMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mallinkService/src/main/resources/mapper/WxCouponChannelMapper.xml b/mallinkService/src/main/resources/mapper/WxCouponChannelMapper.xml index 4f36c5a76..d5a77dca8 100644 --- a/mallinkService/src/main/resources/mapper/WxCouponChannelMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxCouponChannelMapper.xml @@ -153,12 +153,12 @@ - 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 < now() - 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