Commit 311bee21 authored by liguangyu06's avatar liguangyu06
Browse files

优化

parent feee010d
...@@ -69,7 +69,7 @@ sql = "SELECT sum(t.quantity)/10000 FROM `cmdc-product`.ic_inventory t " \ ...@@ -69,7 +69,7 @@ sql = "SELECT sum(t.quantity)/10000 FROM `cmdc-product`.ic_inventory t " \
# print(sql) # print(sql)
total = (mysql_handle.selectSql(host, port, user, pwd, "cmdc-product", sql)[0][0] if total = (mysql_handle.selectSql(host, port, user, pwd, "cmdc-product", sql)[0][0] if
mysql_handle.selectSql(host, port, user, pwd, "cmdc-product", sql)[0][0] else 0) mysql_handle.selectSql(host, port, user, pwd, "cmdc-product", sql)[0][0] else 0)
# print(total) total = 0
# 获取预期结果 # 获取预期结果
check_dict = commonFuc().get_business_data(module, "checkDict109", int(total)) check_dict = commonFuc().get_business_data(module, "checkDict109", int(total))
# print(check_dict) # print(check_dict)
......
Supports Markdown
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