短剧新需求
This commit is contained in:
parent
c2276c3bbb
commit
79873fb15c
|
|
@ -71,7 +71,7 @@
|
|||
t1.avatar,
|
||||
t1.user_name as userName,
|
||||
t1.phone,
|
||||
(select count(1) from v_orders where STATUS = 1 and pay_way = 9 and user_id = t1.user_id and pay_time >= DATE_FORMAT(CURDATE(), '%Y-%m-%d 00:00:00') and pay_time <= DATE_FORMAT(CURDATE(), '%Y-%m-%d 23:59:59') ) as todayUnlocked,
|
||||
(select count(1) from v_orders where STATUS = 1 and pay_way = 9 and user_id = t1.user_id and pay_time >= DATE_FORMAT(CURDATE(), '%Y-%m-%d 00:00:00') and pay_time <= DATE_FORMAT(CURDATE(), '%Y-%m-%d 23:59:59') ) as todayUnlocked,
|
||||
(select count(1) from v_disc_spinning_record where user_id = t1.user_id and DATE_FORMAT(create_time,'%Y-%m-%d') = CURDATE()) as todayDrawCount
|
||||
FROM
|
||||
v_tb_user t1
|
||||
|
|
|
|||
Loading…
Reference in New Issue