From f5e4c7392b49ec859e24f925118b2142ec442863 Mon Sep 17 00:00:00 2001 From: hupeng Date: Wed, 19 Dec 2018 10:44:08 +0800 Subject: [PATCH] =?UTF-8?q?[A=E7=AB=AF][=E4=BF=AE=E5=A4=8D]:A=E7=AB=AF?= =?UTF-8?q?=E8=B4=A6=E5=8D=95=E5=8E=BB=E9=99=A4=E5=8D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml b/mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml index 7bc3236c0..e324406c8 100644 --- a/mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml @@ -397,6 +397,7 @@ left join wx_merchant_b_user bu on co.b_user_id = bu.id left join wx_merchant m on m.id = bu.merchant_id where co.id = #{id} + and co.coupon_type < 7 and c.id = co.coupon_id and cu.id = co.c_user_id