diff --git a/mallinkService/src/main/resources/mapper/WxOrderMapper.xml b/mallinkService/src/main/resources/mapper/WxOrderMapper.xml index 372ebe7f6..ec857fe2a 100644 --- a/mallinkService/src/main/resources/mapper/WxOrderMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxOrderMapper.xml @@ -652,7 +652,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 = 8 + where o.product_id = c.id and c.type = 8 and o.order_status in (6,7,8,9) and o.c_user_id = #{cUserId}