|
@@ -403,7 +403,7 @@
|
|
|
SELECT IFNULL(SUM(1),0)
|
|
|
FROM (
|
|
|
SELECT 1
|
|
|
- FROM ctop_kuaishou_report_hourly_account t1
|
|
|
+ FROM ctop_etl_kuaishou_report_account_hourly t1
|
|
|
LEFT JOIN ctop_user_allocation t2 ON t1.account_id = t2.account_id
|
|
|
WHERE stat_date = #{today}
|
|
|
AND t2.user_id IN
|
|
@@ -426,7 +426,7 @@
|
|
|
IFNULL(t7.campaignCount,0) 'campaignCount',
|
|
|
IFNULL(t8.unitCount,0) 'unitCount'
|
|
|
FROM
|
|
|
- ctop_kuaishou_report_hourly_account t1
|
|
|
+ ctop_etl_kuaishou_report_account_hourly t1
|
|
|
LEFT JOIN ctop_user_allocation t2 ON t1.account_id = t2.account_id
|
|
|
LEFT JOIN(
|
|
|
SELECT user_id,COUNT(1) 'accountCount' FROM ctop_user_allocation WHERE user_id IN
|