|
@@ -45,7 +45,7 @@ FROM
|
|
LEFT JOIN `jeecg-boot`.ctop_etl_kuaishou_video_info t2 ON t1.signature = t2.video_code
|
|
LEFT JOIN `jeecg-boot`.ctop_etl_kuaishou_video_info t2 ON t1.signature = t2.video_code
|
|
LEFT JOIN `jeecg-boot`.ctop_project t3
|
|
LEFT JOIN `jeecg-boot`.ctop_project t3
|
|
on t1.project_id=t3.id
|
|
on t1.project_id=t3.id
|
|
-where t1.stat_date between date_sub(${stat_date}, INTERVAL 6 DAY) and ${stat_date}
|
|
|
|
|
|
+where t1.stat_date between date_sub({stat_date}, INTERVAL 6 DAY) and {stat_date}
|
|
GROUP BY
|
|
GROUP BY
|
|
t1.signature; """.format(stat_date=self.stat_date)
|
|
t1.signature; """.format(stat_date=self.stat_date)
|
|
print(sql)
|
|
print(sql)
|