|
@@ -523,10 +523,8 @@
|
|
|
application.bytedance_advertiser_report_daily_dw a
|
|
|
left join ctop_user_allocation b on a.advertiser_id = b.account_id
|
|
|
left join ctop_project c on b.project_id = c.id
|
|
|
- where
|
|
|
- date_format(a.stat_datetime, '%Y-%m-%d') >= #{startDate}
|
|
|
- and
|
|
|
- date_format(a.stat_datetime, '%Y-%m-%d') <= #{endDate}
|
|
|
+ where a.stat_datetime >= date_format(#{startDate}, '%Y%m%d')
|
|
|
+ and a.stat_datetime <= date_format(#{endDate}, '%Y%m%d')
|
|
|
and
|
|
|
b.project_id in
|
|
|
<foreach collection="projectList" item="item" separator=","
|