抖店精选联盟数据

This commit is contained in:
aiyingfeng 2023-07-15 10:09:31 +08:00
parent a92d8895c4
commit f6a0b97ce7
4 changed files with 4 additions and 4 deletions

View File

@ -107,7 +107,7 @@ if __name__ == '__main__':
while True:
sql = f"""
select task_id, data, deduplication, update_time from buyin_authorStatData_authorOverviewV2 where
date_sub(CURDATE(),INTERVAL 2 DAY) <= DATE(update_time) LIMIT 1000 OFFSET {offset};
date_sub(CURDATE(),INTERVAL 20 DAY) <= DATE(update_time) LIMIT 1000 OFFSET {offset};
"""
res = qc.eb_supports.query(sql)
if not res:

View File

@ -96,7 +96,7 @@ if __name__ == '__main__':
while True:
sql = f"""
select task_id, data, deduplication, update_time from buyin_authorStatData_authorProfile where
date_sub(CURDATE(),INTERVAL 5 DAY) <= DATE(update_time) LIMIT 1000 OFFSET {offset};
date_sub(CURDATE(),INTERVAL 20 DAY) <= DATE(update_time) LIMIT 1000 OFFSET {offset};
"""
res = qc.eb_supports.query(sql)
if not res:

View File

@ -74,7 +74,7 @@ if __name__ == '__main__':
while True:
sql = f"""
select task_id, data, deduplication, update_time from buyin_authorStatData_seekAuthor where
date_sub(CURDATE(),INTERVAL 5 DAY) <= DATE(update_time) LIMIT 1000 OFFSET {offset};
date_sub(CURDATE(),INTERVAL 20 DAY) <= DATE(update_time) LIMIT 1000 OFFSET {offset};
"""
res = qc.eb_supports.query(sql)
if not res:

View File

@ -47,7 +47,7 @@ if __name__ == '__main__':
while True:
sql = f"""
select task_id, data, deduplication, update_time from buyin_contact_info where
date_sub(CURDATE(),INTERVAL 2 DAY) <= DATE(update_time) LIMIT 1000 OFFSET {offset};
date_sub(CURDATE(),INTERVAL 20 DAY) <= DATE(update_time) LIMIT 1000 OFFSET {offset};
"""
res = qc.eb_supports.query(sql)
if not res: