diff --git a/mallinkService/src/main/resources/mapper/WxMerchantMapper.xml b/mallinkService/src/main/resources/mapper/WxMerchantMapper.xml index 5bb2a53c7..b6570dc67 100644 --- a/mallinkService/src/main/resources/mapper/WxMerchantMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxMerchantMapper.xml @@ -470,7 +470,7 @@ where o.coupon_order_status=1 and o.tenant_id=#{tenantId} - o.b_user_id in( + and o.b_user_id in( select id from wx_merchant_b_user where merchant_id=#{id} )