|
@@ -549,7 +549,7 @@
|
|
|
t2.project_id 'projectId',
|
|
|
t3.project_name as 'projectName',
|
|
|
IFNULL(ROUND(SUM(play_3s_count) / SUM(aclick) * 100, 2), 0) as 'play3sRatio',
|
|
|
- (SELECT count(1) FROM ctop_user_allocation where project_id = t3.id) as 'accountCount',
|
|
|
+ (SELECT count(1) FROM ctop_user_allocation where project_id = t3.id and account_status = 0) as 'accountCount',
|
|
|
IFNULL(t4.userCount,0) as 'userCount'
|
|
|
FROM ctop_etl_kuaishou_report_account_hourly t1
|
|
|
LEFT JOIN ctop_user_allocation t2 ON t1.account_id = t2.account_id
|