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
8a75bf92
Commit
8a75bf92
authored
Apr 01, 2024
by
liguangyu06
Browse files
优化
parent
5d1069b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
air_case/cmdc_area/f_新增站点开放白名单.air/f_新增站点开放白名单.py
View file @
8a75bf92
...
...
@@ -29,7 +29,7 @@ host, port, user, pwd = mysql_handle.getConf(db="cmdc_db")
# 查询数据库客户信息
sql
=
"SELECT t.userName FROM `cmdc-user`.cmdc_user t "
\
"WHERE companyId != 7 and userType = 2 and disableSign = 0 and deleteSign = 0 and platformStatus = 1"
"WHERE companyId != 7 and userType = 2 and disableSign = 0 and deleteSign = 0 and platformStatus = 1
and status = 3
"
# 生成随机数
user_random
=
random
.
randint
(
0
,
len
(
mysql_handle
.
selectSql
(
host
,
port
,
user
,
pwd
,
"cmdc-user"
,
sql
))
-
1
)
...
...
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