renyupeng 3 年之前
父节点
当前提交
8d3a8f962d
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      Apietl/kwai_etl/report/AccountDailyReport.py
  2. 1 1
      Apietl/kwai_etl/report/AccountHourlyReport.py

+ 1 - 1
Apietl/kwai_etl/report/AccountDailyReport.py

@@ -204,7 +204,7 @@ class AccountDailyReport:
                  left join
              `jeecg-boot`.ctop_account_attribution_info sys
              on report.advertiser_id = sys.account_id
-        where report.stat_date between {start_date} and {end_date}
+        where report.stat_date between {start_time} and {start_time}
         order by account_id,stat_date limit {num},20000
         """.format(start_time=self.start_time, end_time=self.end_time,num=i * 20000)
                 print(sql)

+ 1 - 1
Apietl/kwai_etl/report/AccountHourlyReport.py

@@ -205,7 +205,7 @@ class AccountHourlyReport:
                  left join
              `jeecg-boot`.ctop_account_attribution_info sys
              on report.advertiser_id = sys.account_id
-        where report.stat_date between {start_date} and {end_date}
+        where report.stat_date between {start_time} and {start_time}
                order by account_id,hour,stat_date limit {num},20000
         """.format(start_time=self.start_time, end_time=self.end_time, num=i * 20000)
                 print(sql)