Commit 1c56221a authored by litaolemo's avatar litaolemo

update

parent b7ee1917
......@@ -266,7 +266,7 @@ for t in range(1, task_days):
# db = pymysql.connect(host='bj-cdb-6slgqwlc.sql.tencentcdb.com', port=62120, user='work', passwd='Gengmei1',
# db='doris_prod')
cursor = db.cursor()
delete_sql = "TRUNCATE TABLE strategy_wiki_smr_score"
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, today_str,is_delete, service_num, pv, is_tag) VALUES(%s,%s,%s,%s,%s,%s)"
......
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