Commit 84eccdb7 authored by rico.liu's avatar rico.liu

update

parent debf712e
...@@ -1084,7 +1084,7 @@ def CheckPointParamsData(path): ...@@ -1084,7 +1084,7 @@ def CheckPointParamsData(path):
except: except:
print(index_(counter, 1), end='%') print(index_(counter, 1), end='%')
if row['remark'] != 'nan' and row['remark'] != 'None': if row['remark'] != 'nan' and row['remark'] != 'None' and row['remark'] != '未匹配上产品':
continue continue
id_ = row['id'] id_ = row['id']
...@@ -1120,7 +1120,7 @@ def CheckPointParamsData(path): ...@@ -1120,7 +1120,7 @@ def CheckPointParamsData(path):
except: except:
print(index_(counter, 1), end='%') print(index_(counter, 1), end='%')
if row['remark'] != 'nan' and row['remark'] != 'None': if row['remark'] != 'nan' and row['remark'] != 'None' and row['remark'] != '未匹配上产品':
continue continue
id_ = int(row['id']) id_ = int(row['id'])
...@@ -1375,7 +1375,7 @@ def create_to_db(path,std_value_dict): ...@@ -1375,7 +1375,7 @@ def create_to_db(path,std_value_dict):
new_name_list.append(" ") new_name_list.append(" ")
continue continue
id_ = str(row['id']) id_ = int(row['id'])
skuname = '' skuname = ''
brandname = row['zi_brandname'] brandname = row['zi_brandname']
cursor_zi_new.execute(f"select id from p_brand where name = '{brandname}' and id not in (select distinct pid from p_brand)") cursor_zi_new.execute(f"select id from p_brand where name = '{brandname}' and id not in (select distinct pid from p_brand)")
......
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