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
0be92c5d
Commit
0be92c5d
authored
May 07, 2024
by
liguangyu06
Browse files
优化
parent
fd962811
Changes
1
Hide whitespace changes
Inline
Side-by-side
air_case/cmdc_33st/获取我的返利列表.air/获取我的返利列表.py
View file @
0be92c5d
...
...
@@ -47,8 +47,8 @@ mysql_handle = mySql()
host
,
port
,
user
,
pwd
=
mysql_handle
.
getConf
(
db
=
"cmdc_db_be"
)
# 查询数据库中客户返利信息
sql
=
"SELECT count(
t.rebateId
) FROM `cmdc-order`.tc_rebate t "
\
"WHERE deleteSign = 0 and auditStatus = 102
and status = 101
and rebateId in "
\
sql
=
"SELECT count(
1
) FROM `cmdc-order`.tc_rebate t "
\
"WHERE deleteSign = 0 and auditStatus = 102 and rebateId in "
\
"(SELECT t.rebateId FROM `cmdc-order`.tc_rebate_user t WHERE customerCode = 1022777 and deleteSign = 0)"
total
=
mysql_handle
.
selectSql
(
host
,
port
,
user
,
pwd
,
"cmdc-order"
,
sql
)[
0
][
0
]
...
...
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