Commit ed42de7b authored by rico.liu's avatar rico.liu

update

parent 3b298f82
...@@ -137,7 +137,11 @@ def upload_params_data(category,path): ...@@ -137,7 +137,11 @@ def upload_params_data(category,path):
params = dict(zip(subtitle_list,[row[subtitle] for subtitle in subtitle_list])) params = dict(zip(subtitle_list,[row[subtitle] for subtitle in subtitle_list]))
cursor_zi_new.execute(f"select id,spuid from p_sku where sku = '{sku}'") cursor_zi_new.execute(f"select id,spuid from p_sku where sku = '{sku}'")
skuid,spuid = cursor_zi_new.fetchone() try:
skuid,spuid = cursor_zi_new.fetchone()
except:
print(f"{sku}已存在在产品库中")
continue
spuname = '' spuname = ''
skuname = '' skuname = ''
......
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