renyupeng 4 ماه پیش
والد
کامیت
cd5f09931a
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      Apietl/kwai_etl/report/CampaignHourlyReport.py

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

@@ -24,7 +24,7 @@ class CampaignHourlyReport:
     def hourly_report(self):
         try:
             sql = """select advertiser_id from media_api.kuaishou_campaign_report_hourly where 
-            stat_date = {start_time}  and cost>0 group by advertiser_id""".format(
+            stat_date = {start_time}  and charge>0 group by advertiser_id""".format(
                 start_time=self.start_time)
             account_list = TidbConn.quary(self.conn, sql)
             for account_id in account_list: