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
279c5f41
Commit
279c5f41
authored
Oct 08, 2024
by
xiao-hesheng
Browse files
流程五脚本提交
parent
0f1ba0ba
Changes
2
Hide whitespace changes
Inline
Side-by-side
air_case/b6_spd3_core_business_flow_database_check/a_a6流程五_中心库入库结算_正结算2_外网配送_数据库验证.air/a_a6流程五_中心库入库结算_正结算2_外网配送_数据库验证.py
View file @
279c5f41
...
...
@@ -74,6 +74,7 @@ def check_hdi_distr(type=16):
last_modified_user
=
distrUser
if
type
==
16
:
# 验证子表数据
time
.
sleep
(
5
)
check_hdi_distr_detail
(
distr_main_key
,
type
,
purchase_id
)
hos_goods_id
=
FileUtils
().
r_info8
(
'b5_spd3_core_business_flow'
,
'产品审核信息'
,
'message2'
)[
"hosGoodsId"
]
...
...
@@ -128,6 +129,7 @@ def check_hdi_distr(type=16):
elif
type
==
20
:
# 验证子表数据
time
.
sleep
(
5
)
check_hdi_distr_detail
(
distr_main_key
,
type
,
purchase_id
)
hos_goods_id
=
FileUtils
().
r_info8
(
'b5_spd3_core_business_flow'
,
'产品审核信息'
,
'message1'
)[
"hosGoodsId"
]
...
...
@@ -182,6 +184,7 @@ def check_hdi_distr(type=16):
elif
type
==
66
:
# 验证子表数据
time
.
sleep
(
5
)
check_hdi_distr_detail
(
distr_main_key
,
type
,
purchase_id
)
hos_goods_id
=
FileUtils
().
r_info8
(
'b5_spd3_core_business_flow'
,
'产品审核信息'
,
'message3'
)[
"hosGoodsId"
]
...
...
@@ -218,7 +221,7 @@ def check_hdi_distr(type=16):
branch_id
,
FileUtils
().
r_info8
(
"b2_herp3_bs"
,
"所有科室name"
,
'message6'
)[
'deptid1'
])))
rec_org_name
=
FileUtils
().
r_info8
(
"b2_herp3_bs"
,
"所有科室name"
,
'message6'
)[
'deptid1'
]
last_modified
=
get_create_time
(
"select last_modified from hdi_distr where branch_id = '%s' and bill_mode='%s' order by create_time desc LIMIT 1;"
%
(
"select last_modified from
spd_hdiorder_test2.
hdi_distr where branch_id = '%s' and bill_mode='%s' order by create_time desc LIMIT 1;"
%
(
branch_id
,
type
))
confirmUser
=
distrUser
ext_info
=
get_ext_info
(
branch_id
,
type
)
...
...
air_case/b6_spd3_core_business_flow_database_check/a_a7流程五_中心库入库结算_正结算3_内网验收入库结算_数据库验证.air/a_a7流程五_中心库入库结算_正结算3_内网验收入库结算_数据库验证.py
View file @
279c5f41
...
...
@@ -543,17 +543,17 @@ using(pro_path + r'//air_case/b5_spd3_core_business_flow/a_a7流程五_中心库
from
a_a7流程五_中心库入库结算_正结算3_内网验收入库结算
import
check_accept_order
,
putaway
try
:
# # 验收
check_accept_order
(
1
)
#
低值
time
.
sleep
(
6
)
check_mcms_check
(
1
)
#
check_accept_order(
3)
#
试剂
#
time.sleep(6)
check_mcms_check
(
3
)
time
.
sleep
(
3
)
check_accept_order
(
2
)
# 高值
time
.
sleep
(
6
)
check_mcms_check
(
2
)
time
.
sleep
(
3
)
check_accept_order
(
3
)
#
试剂
check_accept_order
(
1
)
#
低值
time
.
sleep
(
6
)
check_mcms_check
(
3
)
check_mcms_check
(
1
)
# 入库上架
putaway
()
time
.
sleep
(
6
)
...
...
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