renyupeng 3 lat temu
rodzic
commit
ad6d6ddf39
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      Apietl/kwai_etl/report/UnitDailyReport.py

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

@@ -211,7 +211,7 @@ class UnitDailyReport:
              `jeecg-boot`.ctop_account_attribution_info sys
              on report.advertiser_id = sys.account_id
         where report.stat_date between {start_time} and {end_time}
-        where report.advertiser_id={account_id}""".\
+        and report.advertiser_id={account_id}""".\
                     format(start_time=self.start_time, end_time=self.end_time, account_id=account_id[0])
                 print(sql)
                 TidbConn.upsert(conn=self.conn, sql_buff=sql)