|
@@ -1524,7 +1524,7 @@
|
|
(SELECT SUM(t1.cost)
|
|
(SELECT SUM(t1.cost)
|
|
from application.app_bytedance_material_info t
|
|
from application.app_bytedance_material_info t
|
|
LEFT JOIN application.bytedance_material_video_report_daily_dw t1 on t.material_id=t1.signature
|
|
LEFT JOIN application.bytedance_material_video_report_daily_dw t1 on t.material_id=t1.signature
|
|
- where t.media_time between #{startDate} and #{endDate} and t.leader_id=#{leaderId} and t.company_id=#{companyId}
|
|
|
|
|
|
+ where t.media_time between #{startDate} and #{endDate} and t1.leader_id=#{leaderId} and t1.company_id=#{companyId}
|
|
and t1.stat_datetime between #{startDate} and #{endDate})
|
|
and t1.stat_datetime between #{startDate} and #{endDate})
|
|
/
|
|
/
|
|
(SELECT ifnull(count(DISTINCT t.material_id),0)
|
|
(SELECT ifnull(count(DISTINCT t.material_id),0)
|