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
241c2f67
Commit
241c2f67
authored
Jul 17, 2024
by
xiao-hesheng
Browse files
数据库验证流程十一脚本编写
parent
e72731c1
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 @
241c2f67
...
@@ -977,9 +977,9 @@ def check_mcms_purchase_detail(id, type, planOrderNo):
...
@@ -977,9 +977,9 @@ def check_mcms_purchase_detail(id, type, planOrderNo):
goods_code
=
process_tuple
(
goods_code
=
process_tuple
(
get_id
(
"select goods_code from mcms_pur_plan_detail where hos_goods_id='%s' and id='%s';"
%
(
get_id
(
"select goods_code from mcms_pur_plan_detail where hos_goods_id='%s' and id='%s';"
%
(
hos_goods_id
,
id2
)))
hos_goods_id
,
id2
)))
pkg_def_id
=
process_tuple
(
#
pkg_def_id = process_tuple(
get_id
(
"select pkg_def_id from mcms_pur_plan_detail where hos_goods_id='%s' and id='%s';"
%
(
#
get_id("select pkg_def_id from mcms_pur_plan_detail where hos_goods_id='%s' and id='%s';" % (
hos_goods_id
,
id2
)))
#
hos_goods_id, id2)))
supply_id
=
process_tuple
(
supply_id
=
process_tuple
(
get_id
(
"select supply_id from mcms_pur_plan_detail where hos_goods_id='%s' and id='%s';"
%
(
get_id
(
"select supply_id from mcms_pur_plan_detail where hos_goods_id='%s' and id='%s';"
%
(
hos_goods_id
,
id2
)))
hos_goods_id
,
id2
)))
...
@@ -1013,8 +1013,7 @@ def check_mcms_purchase_detail(id, type, planOrderNo):
...
@@ -1013,8 +1013,7 @@ def check_mcms_purchase_detail(id, type, planOrderNo):
get_id
(
"select goods_code from mcms_pur_plan_detail where hos_goods_id='%s' and id='%s';"
%
(
get_id
(
"select goods_code from mcms_pur_plan_detail where hos_goods_id='%s' and id='%s';"
%
(
hos_goods_id
,
id2
)))
hos_goods_id
,
id2
)))
pkg_def_id
=
process_tuple
(
pkg_def_id
=
process_tuple
(
get_id
(
"select pkg_def_id from mcms_pur_plan_detail where hos_goods_id='%s' and id='%s';"
%
(
get_id
(
"select pkg_def_id from mcms_pkg where hos_goods_id='%s' LIMIT 1;"
%
hos_goods_id
))
hos_goods_id
,
id2
)))
supply_id
=
process_tuple
(
supply_id
=
process_tuple
(
get_id
(
"select supply_id from mcms_pur_plan_detail where hos_goods_id='%s' and id='%s';"
%
(
get_id
(
"select supply_id from mcms_pur_plan_detail where hos_goods_id='%s' and id='%s';"
%
(
hos_goods_id
,
id2
)))
hos_goods_id
,
id2
)))
...
...
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