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
60036e03
Commit
60036e03
authored
Mar 14, 2024
by
liguangyu06
Browse files
优化
parent
4556775c
Changes
1
Hide whitespace changes
Inline
Side-by-side
air_case/cmdc_area/e_专区删除功能验证.air/e_专区删除功能验证.py
View file @
60036e03
...
...
@@ -54,7 +54,7 @@ host, port, user, pwd = mysql_handle.getConf(db="cmdc_db")
# 查询数据库中对应专区启用状态
sql
=
"SELECT t.disableSign FROM `cmdc-product`.ic_area t WHERE areaId = {}"
.
format
(
areaId
)
sign
=
(
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
1
)
mysql_handle
.
selectSql
(
host
,
port
,
user
,
pwd
,
"cmdc-product"
,
sql
)
else
1
)
result
=
{
"deleteSign"
:
sign
}
# 将接口响应时间添加至result
...
...
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