Commit 156b79e1 by fangxingjun

no message

parent 73017639
......@@ -130,6 +130,9 @@ class ImportStToPg14(object):
df_search_term_sync.to_sql(f"{self.site_name}_search_term_month_syn", con=self.engine_pg14, index=False,
if_exists="append")
if df_search_term_sync.shape[0] == 0:
print(f"当前没有新增的搜索词同步, 不需要更改进度表, 退出程序")
quit()
# 更改workflow_manager进度表
self.update_workflow_manager()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment