Commit 197a1c03 authored by rico.liu's avatar rico.liu

update shujuzidian

parent c91268e8
......@@ -128,7 +128,7 @@ def upload_params_data(category,path):
#获取数据字典
cursor_zi_new.execute(f"select * from ShuJuZiDian_Cfg where categoryname = '{category}'")
cursor_zi_new.execute(f"select * from ShuJuZiDian_Cfg where categoryname = '{category}' and stdvalue is not Null")
data_dict = pd.DataFrame(cursor_zi_new.fetchall(), columns=[tuple[0] for tuple in cursor_zi_new.description])
data_dict['stdvalue'] = data_dict['stdvalue'].apply(lambda x : x.upper())
single_data_dict = data_dict
......
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