diff --git a/mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml b/mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml index e324406c8..7d7eb75c5 100644 --- a/mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml @@ -467,7 +467,7 @@ from wx_coupon_order co,wx_coupon_merchant cm, (select tco.id as tcoid, (select count(*) from wx_coupon_merchant tcm - where tcm.product_id = tco.coupon_id and + where tcm.product_id = tco.coupon_id and tcm.status = 0) as mc from wx_coupon_order tco) com