Commit aabd940b authored by litaolemo's avatar litaolemo

update

parent 30a45d6f
......@@ -269,7 +269,7 @@ for t in range(1, task_days):
delete_sql = "DELETE FROM strategy_wiki_smr_score where 1"
cursor.execute(delete_sql)
db.commit()
insert_sql = "replace into strategy_wiki_smr_score(keywords, create_time,is_delete, service_num, pv, is_tag) VALUES(%s,%s,%s,%s,%s,%s)"
insert_sql = "replace into strategy_wiki_smr_score(keywords, create_time,is_delete, relation_service_num, query_search_num, is_tag) VALUES(%s,%s,%s,%s,%s,%s)"
insert_list = []
for count, item in enumerate(tag_names_list_week):
keywords, create_time, is_delete, service_num, pv, is_tag = item
......
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