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

update

parent 84eccdb7
......@@ -996,7 +996,7 @@ def check_params_data(path):
if row['remark'] != 'nan' and row['remark'] != 'None':
continue
id_ = str(row['id'])
id_ = int(row['id'])
category = row['zi_subcategoryname']
eg_brand_name = row['zi_brandname']
eg_product_name = row['name']
......@@ -1246,7 +1246,7 @@ def create_to_db(path,std_value_dict):
new_name_list.append(" ")
continue
id_ = str(row['id'])
id_ = int(row['id'])
skuname = ''
brandname = row['zi_brandname']
......@@ -1435,7 +1435,7 @@ def create_to_db(path,std_value_dict):
delete_index_list = list()
for index,row in new_df.iterrows():
id_ = str(row['id'])
id_ = int(row['id'])
brand = str(row['zi_brandname'].strip())
brandcode = row['zi_brandcode'] # 建库需要的品牌编码
......
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