Commit 01fec845 authored by rico.liu's avatar rico.liu

update

parent e6658a7a
......@@ -17,9 +17,9 @@ def check_data(category_name,path):
df = df.rename(columns = {'Unnamed: 0':'id'})
#if '无参数,需补充' in df.values:
# print("仍有参数未补充,请补充完整后再继续处理。")
# return False
if '无参数,需补充' in df.values:
print("仍有参数未补充,请补充完整后再继续处理。")
return False
#创建新产品库链接
conn_zi_new = pymssql.connect(host='123.56.115.207', user='zgcprice3311',password='zgcprice20200628',database= 'ZI_NEW',autocommit=True)
......
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