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-spd
Commits
9af73311
Commit
9af73311
authored
Jul 25, 2024
by
xiao-hesheng
Browse files
数据库验证流程十二脚本编写
parent
6763f670
Changes
1
Hide whitespace changes
Inline
Side-by-side
air_case/b6_spd3_core_business_flow_database_check/a_b4流程十一请领业务流_二级库向直送_数据库验证.air/a_b4流程十一请领业务流_二级库向直送_数据库验证.py
View file @
9af73311
...
...
@@ -1046,9 +1046,9 @@ def check_mcms_purchase_out_and_in(type=1):
branch_id
=
get_branch_id
()
create_user
=
get_login_user_uxid2
()
if
type
==
1
:
sql
=
"select * from mcms_purchase branch_id='%s' and create_user='%s' order by create_time desc LIMIT 3;"
%
(
branch_id
,
create_user
)
sql
=
"select * from mcms_purchase
where
branch_id='%s' and create_user='%s' order by create_time desc LIMIT 3;"
%
(
branch_id
,
create_user
)
else
:
sql
=
"select * from mcms_purchase_detail create_user='%s' order by create_time desc LIMIT 3;"
%
create_user
sql
=
"select * from mcms_purchase_detail
where
create_user='%s' order by create_time desc LIMIT 3;"
%
create_user
result_in
=
check_in_check_mcms_purchase
(
sql
)
result_out
=
check_out_check_mcms_purchase
(
sql
)
result
=
(
compare_text_index
(
result_in
,
result_out
))
...
...
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