会员列表sql修改
This commit is contained in:
@@ -68,7 +68,7 @@
|
||||
SELECT shop_user_id, COUNT(*) AS couponNum
|
||||
FROM tb_shop_activate_coupon_record
|
||||
WHERE status = 0
|
||||
AND use_start_time < NOW()
|
||||
AND use_start_time < NOW()
|
||||
AND use_end_time > NOW()
|
||||
GROUP BY shop_user_id
|
||||
) c ON c.shop_user_id = a.id
|
||||
|
||||
Reference in New Issue
Block a user