From 6e4aeaa294e05ee9907970660d5f6fab81578474 Mon Sep 17 00:00:00 2001 From: xhxu Date: Thu, 30 Sep 2021 10:42:11 +0800 Subject: [PATCH] update couponOrde --- .../src/main/resources/mapper/WxCouponOrderMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml b/mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml index aff12959f..6655b24d0 100644 --- a/mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml @@ -1017,7 +1017,7 @@ left join wx_coupon_merchant wcm on co.coupon_id = wcm.product_id and wcm.merchant_id = #{merchantId} LEFT JOIN wx_c_user_basic_info cu ON cu.id=co.c_user_id LEFT JOIN wx_coupon c ON c.id = co.coupon_id - where 1=1 + where wcm.merchant_id = #{merchantId} and co.coupon_type = #{couponType}