diff --git a/mallinkService/src/main/resources/mapper/WxOrderMapper.xml b/mallinkService/src/main/resources/mapper/WxOrderMapper.xml index 684b46495..c324f5047 100644 --- a/mallinkService/src/main/resources/mapper/WxOrderMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxOrderMapper.xml @@ -610,7 +610,7 @@ from wx_coupon c,wx_order o left join wx_coupon_order co on co.order_id = o.id - where o.product_id = c.id and c.type == 7 + where o.product_id = c.id and c.type = 8 and o.c_user_id = #{cUserId}