Commit e1a3ca1d by fangxingjun

no message

parent 16cb7ae2
...@@ -91,22 +91,30 @@ class Integrate_search_term(): ...@@ -91,22 +91,30 @@ class Integrate_search_term():
with self.engine_mysql.begin() as conn: with self.engine_mysql.begin() as conn:
update_sql_workflow = f""" update_sql_workflow = f"""
INSERT INTO workflow_manager INSERT INTO workflow_manager
( (
workflow_name,
site_name, site_name,
date_type, date_type,
date_info, date_info,
priority,
spider_name, spider_name,
spider_is_ready, spider_is_ready,
spider_state spider_state,
bg_name,
bg_dol_state
) )
VALUES VALUES
( (
'月全流程',
'{self.site_name}', '{self.site_name}',
'month', 'month',
'{self.date_info}', '{self.date_info}',
1,
'us_spider_st', 'us_spider_st',
'yes', 'yes',
1,
'us_asin_export',
1 1
) )
ON DUPLICATE KEY UPDATE ON DUPLICATE KEY UPDATE
......
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