renyupeng il y a 3 ans
Parent
commit
6e8b46f313
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      Apietl/test/AppKuaishouVideoReportBusiMonth.py

+ 2 - 2
Apietl/test/AppKuaishouVideoReportBusiMonth.py

@@ -18,8 +18,8 @@ class AppKuaishouVideoReportBusiMonth:
         self.day_count = 31
     def taskHandler(self):
         try:
-            sql_porject = """select account_id from `jeecg-boot`.ctop_user_allocation where media_id=2
-group by account_id """
+            sql_porject = """select advertiser_id from media_api.kuaishou_material_video_report_daily where stat_date between 20210101 and 20210131
+group by advertiser_id """
             account_list = TidbConn.quary(self.conn, sql_porject)
             for account_id in account_list:
                 try: