renyupeng 3 anos atrás
pai
commit
1d540daa38

+ 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_time} and {start_time}
+        where report.stat_date between {start_time} and {end_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_time} and {start_time}
+        where report.stat_date between {start_time} and {end_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)