Commit 0da02978 authored by rico.liu's avatar rico.liu

update 重复sku命名问题

parent 3400cb8a
......@@ -305,7 +305,7 @@ def upload_params_data(category,path):
cursor_zi_new.execute(f"select sku from p_sku where skuname = '{skuname}'")
correct_sku = cursor_zi_new.fetchone()[0]
skuname_double = skuname + f"(sku:'{sku}';重复sku:'{correct_sku}')"
skuname_double = skuname + f"(sku:{sku};重复sku:{correct_sku})"
cursor_zi_new.execute(f"update p_sku set skuname = '{skuname_double}',state = '6' where sku = '{sku}'")
#更新价格库数据
......
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