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)