Commit feee010d authored by liguangyu06's avatar liguangyu06
Browse files

优化

parent 9817c4f8
......@@ -82,7 +82,7 @@ host, port, user, pwd = mysql_handle.getConf(db="cmdc_db_be")
sql = "SELECT t.wholeQuantity FROM `cmdc-order`.tc_supernova t " \
"WHERE companyCode = 00102 and productCode = {}".format(productCode)
total = int(mysql_handle.selectSql(host, port, user, pwd, "cmdc-order", sql)[0][0])
# print(sql)
print(sql)
result = {"wholeQuantity": total}
# 将接口响应时间添加至result
......
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