Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
69b8948b
Commit
69b8948b
authored
1 year ago
by
liguangyu06
Browse files
Options
Download
Email Patches
Plain Diff
用例优化
parent
bfab596f
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
air_case/cmdc_order_list/获取用户下单原始清单信息.air/获取用户下单原始清单信息.py
+1
-1
air_case/cmdc_order_list/获取用户下单原始清单信息.air/获取用户下单原始清单信息.py
with
1 addition
and
1 deletion
+1
-1
air_case/cmdc_order_list/获取用户下单原始清单信息.air/获取用户下单原始清单信息.py
+
1
-
1
View file @
69b8948b
...
@@ -60,7 +60,7 @@ host, port, user, pwd = mysql_handle.getConf(db="cmdc_db")
...
@@ -60,7 +60,7 @@ host, port, user, pwd = mysql_handle.getConf(db="cmdc_db")
# 查询数据库中审核后商品数量
# 查询数据库中审核后商品数量
sql
=
"SELECT count(t.demandSkuId) FROM `cmdc-order`.tc_demand_sku_org t WHERE demandCode = {}"
.
format
(
demandCode
)
sql
=
"SELECT count(t.demandSkuId) FROM `cmdc-order`.tc_demand_sku_org t WHERE demandCode = {}"
.
format
(
demandCode
)
total
=
mysql_handle
.
selectSql
(
host
,
port
,
user
,
pwd
,
"cmdc-order"
,
sql
)[
0
][
0
]
total
=
(
mysql_handle
.
selectSql
(
host
,
port
,
user
,
pwd
,
"cmdc-order"
,
sql
)[
0
][
0
]
if
mysql_handle
.
selectSql
(
host
,
port
,
user
,
pwd
,
"cmdc-order"
,
sql
)
else
0
)
# 将接口响应时间添加至result
# 将接口响应时间添加至result
result
[
"api_time"
]
=
api_time
result
[
"api_time"
]
=
api_time
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets