renyupeng hace 1 año
padre
commit
ab2b351a3b
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      Apietl/kwai_etl/Q4Task/AppKuaishouVideoListAll.py

+ 1 - 2
Apietl/kwai_etl/Q4Task/AppKuaishouVideoListAll.py

@@ -17,8 +17,7 @@ class AppKuaishouVideoListAll:
 
     def execSql(self):
         try:
-            sql = """select account_id from media_api.kuaishou_video_list 
-               group by account_id """
+            sql = """select account_id from `jeecg-boot`.ctop_user_allocation where  account_status=0 and media_id=2"""
             account_list = TidbConn.quary(self.conn, sql)
             for account_id in account_list:
                 try: