From 937ea7a186a388d553843abd24ad08f762f18a99 Mon Sep 17 00:00:00 2001 From: hupeng Date: Sat, 26 Jan 2019 15:37:57 +0800 Subject: [PATCH] =?UTF-8?q?[BUG][=E4=BF=AE=E5=A4=8D]:=E5=A4=9A=E5=95=86?= =?UTF-8?q?=E6=88=B7=E9=80=9A=E7=94=A8=E5=88=B8=E4=B8=AD=E4=B8=80=E4=B8=AA?= =?UTF-8?q?=E5=95=86=E6=88=B7=E8=A2=AB=E7=A6=81=E7=94=A8=E6=97=B6=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/WxCouponOrderMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml b/mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml index 8d28e9021..74321a445 100644 --- a/mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml @@ -297,7 +297,7 @@ c.title,c.sale_price,c.use_price,c.price,c.unit, (case when com.mc=1 then (select m.name from wx_merchant m, wx_coupon_merchant cm - where m.id = cm.merchant_id and cm.product_id=co.coupon_id and m.status = 1) else '[多商户通用]' end) as merchant_name + where m.id = cm.merchant_id and cm.product_id=co.coupon_id and cm.status = 0) else '[多商户通用]' end) as merchant_name @@ -335,7 +335,7 @@ (select m.name from wx_merchant m, wx_coupon_merchant cm where m.id = cm.merchant_id and cm.product_id=co.coupon_id - and m.status = 1) + and cm.status = 0) else'[多商户通用]' end) like concat('%', #{merchantName},'%')