From bd9ce9712df4c9f148fe81b13f649e6a4918909e Mon Sep 17 00:00:00 2001 From: gongbiao Date: Wed, 6 Nov 2019 15:11:50 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=95=86=E6=88=B7=E4=BC=9A=E5=91=98=E6=B6=88?= =?UTF-8?q?=E8=B4=B9=E5=88=97=E8=A1=A8][=E4=BF=AE=E6=94=B9][=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E5=8F=8A=E8=AF=A6=E6=83=85]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mallinkService/src/main/resources/mapper/WxMerchantMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mallinkService/src/main/resources/mapper/WxMerchantMapper.xml b/mallinkService/src/main/resources/mapper/WxMerchantMapper.xml index e6234698e..504a46592 100644 --- a/mallinkService/src/main/resources/mapper/WxMerchantMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxMerchantMapper.xml @@ -433,7 +433,7 @@ count(DISTINCT co.c_user_id) AS consumeCount,sum(co.coupon_price) AS tradeAmt, m.id as merchant_id from wx_coupon_order co left join (select m.id,mbu.id as b_user_id from wx_merchant m - left join wx_merchant_b_user mbu on m.id=mbu.merchant_id where status=0) m + left join wx_merchant_b_user mbu on m.id=mbu.merchant_id where mbu.status=0) m on co.b_user_id=m.b_user_id WHERE co.coupon_order_status = 1