|
@@ -17,9 +17,7 @@ class AppBytedanceMaterialProjectRalation:
|
|
|
|
|
|
def handler(self):
|
|
|
try:
|
|
|
- sql = """select advertiser_id from media_api.bytedance_file_video_get
|
|
|
- where create_time>=date_format(date_sub(now(),interval 3 day),'%Y-%m-%d')
|
|
|
- group by advertiser_id"""
|
|
|
+ sql = """select account_id from `jeecg-boot`.ctop_user_allocation where account_status=0 and media_id=1"""
|
|
|
account_list = TidbConn.quary(self.conn, sql)
|
|
|
for account_id in account_list:
|
|
|
try:
|