Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
test
autotest-airtest-web-cmdc
Commits
d2a2a042
Commit
d2a2a042
authored
Apr 17, 2024
by
liguangyu06
Browse files
优化
parent
e30d0160
Changes
1
Hide whitespace changes
Inline
Side-by-side
air_case/cmdc_order_list/获取商品详情页库存信息.air/获取商品详情页库存信息.py
View file @
d2a2a042
...
...
@@ -68,7 +68,7 @@ sql = "SELECT sum(t.quantity)/10000 FROM `cmdc-product`.ic_inventory t " \
"and type = 1 and isLimited != 'Y' and expireDate > {}"
.
format
(
ru_date
)
total
=
mysql_handle
.
selectSql
(
host
,
port
,
user
,
pwd
,
"cmdc-product"
,
sql
)[
0
][
0
]
total
=
0
# 获取预期结果
check_dict
=
commonFuc
().
get_business_data
(
module
,
"checkDict115"
,
int
(
total
))
# print(check_dict)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment