|
@@ -288,7 +288,7 @@ from media_api.kuaishou_material_video_report_daily report
|
|
|
left join `jeecg-boot`.sys_user leader on leader.id = cma.leader_id
|
|
|
left join `jeecg-boot`.user_company uc on uc.user_id = clip.id
|
|
|
left join `jeecg-boot`.ctop_product product on product.id = cp.product_id
|
|
|
- where report.stat_date between {start_time} and {end_time} and report.photo_id!=0
|
|
|
+ where report.stat_date between {start_time} and {end_time}
|
|
|
and report.advertiser_id={account_id}""".format(
|
|
|
start_time=self.start_time, end_time=self.end_time, account_id=account_id[0])
|
|
|
print(sql)
|