From 4fbcf5f09dd4a1f1ab529a823b4cee006d2ab8dc Mon Sep 17 00:00:00 2001 From: luozukai Date: Fri, 27 Sep 2019 15:48:00 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BF=AE=E6=94=B9][=E4=BC=9A=E5=91=98?= =?UTF-8?q?=E6=B6=88=E8=B4=B9][=E6=B7=BB=E5=8A=A0=E5=AF=BC=E5=87=BA?= =?UTF-8?q?=E5=8A=9F=E8=83=BD]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/WxMerchantMapper.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mallinkService/src/main/resources/mapper/WxMerchantMapper.xml b/mallinkService/src/main/resources/mapper/WxMerchantMapper.xml index 05425c8c2..7a5b001cc 100644 --- a/mallinkService/src/main/resources/mapper/WxMerchantMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxMerchantMapper.xml @@ -429,7 +429,7 @@ left join wx_coupon co on(o.`coupon_id`=co.id) left join wx_coupon_merchant cm on(cm.product_id=co.id) inner join wx_c_user_basic_info c on(o.c_user_id=c.id) - left join wx_merchant_b_user mb on(mb.id=c.id) + inner join wx_merchant_b_user mb on(mb.id=c.id) where cm.`merchant_id`=m.id and o.coupon_order_status=1 and mb.merchant_id=m.id and o.create_date >= #{starttime} @@ -443,7 +443,7 @@ left join wx_coupon co on(o.`coupon_id`=co.id) left join wx_coupon_merchant cm on(cm.product_id=co.id) inner join wx_c_user_basic_info c on(o.c_user_id=c.id) - left join wx_merchant_b_user mb on(mb.id=c.id) + inner join wx_merchant_b_user mb on(mb.id=c.id) where cm.`merchant_id`=m.id and o.coupon_order_status=1 and mb.merchant_id=m.id and o.create_date >= #{starttime} @@ -457,7 +457,7 @@ left join wx_coupon co on(o.`coupon_id`=co.id) left join wx_coupon_merchant cm on(cm.product_id=co.id) inner join wx_c_user_basic_info c on(o.c_user_id=c.id) - left join wx_merchant_b_user mb on(mb.id=c.id) + inner join wx_merchant_b_user mb on(mb.id=c.id) where cm.`merchant_id`=m.id and o.coupon_order_status=1 and mb.merchant_id=m.id and o.create_date >= #{starttime}