From 1a15ac21bdadbc94455a37cc57c2beec75338073 Mon Sep 17 00:00:00 2001 From: hupeng Date: Wed, 16 Jan 2019 15:23:45 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=8D=A1=E5=88=B8][=E4=BF=AE=E6=94=B9]:?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E6=96=B0=E7=9A=84=E7=BC=96=E7=A0=81=E8=A7=84?= =?UTF-8?q?=E5=88=99=E5=8C=BA=E5=88=86=E5=88=B8=E5=92=8C=E5=8D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/WxCouponOrderMapper.xml | 2 +- mallinkService/src/main/resources/mapper/WxOrderMapper.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml b/mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml index 501e94ffa..286d27194 100644 --- a/mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml @@ -568,7 +568,7 @@ where 1=1 and co.coupon_id = c.id and co.coupon_type != 5 - and co.coupon_type != 100 + and co.coupon_type < 100 and co.c_user_id = #{cUserId} diff --git a/mallinkService/src/main/resources/mapper/WxOrderMapper.xml b/mallinkService/src/main/resources/mapper/WxOrderMapper.xml index 5d4a5cdc8..d60d1d409 100644 --- a/mallinkService/src/main/resources/mapper/WxOrderMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxOrderMapper.xml @@ -219,7 +219,7 @@ from wx_coupon c,wx_order o left join wx_coupon_order co on co.order_id = o.id left join wx_coupon_action_log cal on cal.coupon_order_id = co.id - where o.product_id = c.id and c.type != 100 + where o.product_id = c.id and c.type < 100 and o.c_user_id = #{cUserId}