|
|
|
@@ -109,7 +109,7 @@ |
|
|
|
(select count(*) total |
|
|
|
from wx_coupon_order where coupon_type=9 and coupon_order_status=1 and coupon_id=c.id) verify_count, |
|
|
|
IFNULL((select count(*) from wx_order where order_group_id!=0 and product_id=c.id),0) total_people |
|
|
|
from wx_coupon c where type=9 |
|
|
|
from wx_coupon c where type=9 order by c.status,c.id desc |
|
|
|
) c |
|
|
|
<where> |
|
|
|
<if test=" null != couponId and ''!=couponId"> |
|
|
|
|