diff --git a/mallinkService/src/main/resources/mapper/WxOrderGroupMapper.xml b/mallinkService/src/main/resources/mapper/WxOrderGroupMapper.xml index 80fb261ef..0233ec545 100644 --- a/mallinkService/src/main/resources/mapper/WxOrderGroupMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxOrderGroupMapper.xml @@ -75,7 +75,7 @@ left join wx_coupon c on o.product_id=c.id left join wx_order_group g on o.order_group_id=g.id left join wx_c_user u on o.c_user_id=u.id - where o.tenant_id=#{tenantId} + where o.tenant_id=#{tenantId} and c.type=9 and o.c_user_id=#{cUserId}