|
@@ -43,7 +43,7 @@ class KuaishouMaterialRequest:
|
|
sql = """
|
|
sql = """
|
|
SET GLOBAL group_concat_max_len=102400;
|
|
SET GLOBAL group_concat_max_len=102400;
|
|
select account_id,group_concat(distinct photo_id) from application.kuaishou_material_video_report_daily_dw
|
|
select account_id,group_concat(distinct photo_id) from application.kuaishou_material_video_report_daily_dw
|
|
- where stat_date between {start_time} and {end_time}
|
|
|
|
|
|
+ where stat_date >= {start_time} and stat_date<={end_time}
|
|
and signature is null and photo_id!=0
|
|
and signature is null and photo_id!=0
|
|
group by account_id
|
|
group by account_id
|
|
""".format(start_time=self.start_time, end_time=self.end_time)
|
|
""".format(start_time=self.start_time, end_time=self.end_time)
|