renyupeng 3 년 전
부모
커밋
ad6d6ddf39
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)