|
@@ -18,8 +18,8 @@ class AppKuaishouVideoReportBusiMonth:
|
|
self.day_count = 31
|
|
self.day_count = 31
|
|
def taskHandler(self):
|
|
def taskHandler(self):
|
|
try:
|
|
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)
|
|
account_list = TidbConn.quary(self.conn, sql_porject)
|
|
for account_id in account_list:
|
|
for account_id in account_list:
|
|
try:
|
|
try:
|