Commit 279c5f41 authored by xiao-hesheng's avatar xiao-hesheng
Browse files

流程五脚本提交

parent 0f1ba0ba
...@@ -74,6 +74,7 @@ def check_hdi_distr(type=16): ...@@ -74,6 +74,7 @@ def check_hdi_distr(type=16):
last_modified_user = distrUser last_modified_user = distrUser
if type == 16: if type == 16:
# 验证子表数据 # 验证子表数据
time.sleep(5)
check_hdi_distr_detail(distr_main_key, type, purchase_id) check_hdi_distr_detail(distr_main_key, type, purchase_id)
hos_goods_id = FileUtils().r_info8('b5_spd3_core_business_flow', '产品审核信息', 'message2')["hosGoodsId"] hos_goods_id = FileUtils().r_info8('b5_spd3_core_business_flow', '产品审核信息', 'message2')["hosGoodsId"]
...@@ -128,6 +129,7 @@ def check_hdi_distr(type=16): ...@@ -128,6 +129,7 @@ def check_hdi_distr(type=16):
elif type == 20: elif type == 20:
# 验证子表数据 # 验证子表数据
time.sleep(5)
check_hdi_distr_detail(distr_main_key, type, purchase_id) check_hdi_distr_detail(distr_main_key, type, purchase_id)
hos_goods_id = FileUtils().r_info8('b5_spd3_core_business_flow', '产品审核信息', 'message1')["hosGoodsId"] hos_goods_id = FileUtils().r_info8('b5_spd3_core_business_flow', '产品审核信息', 'message1')["hosGoodsId"]
...@@ -182,6 +184,7 @@ def check_hdi_distr(type=16): ...@@ -182,6 +184,7 @@ def check_hdi_distr(type=16):
elif type == 66: elif type == 66:
# 验证子表数据 # 验证子表数据
time.sleep(5)
check_hdi_distr_detail(distr_main_key, type, purchase_id) check_hdi_distr_detail(distr_main_key, type, purchase_id)
hos_goods_id = FileUtils().r_info8('b5_spd3_core_business_flow', '产品审核信息', 'message3')["hosGoodsId"] hos_goods_id = FileUtils().r_info8('b5_spd3_core_business_flow', '产品审核信息', 'message3')["hosGoodsId"]
...@@ -218,7 +221,7 @@ def check_hdi_distr(type=16): ...@@ -218,7 +221,7 @@ def check_hdi_distr(type=16):
branch_id, FileUtils().r_info8("b2_herp3_bs", "所有科室name", 'message6')['deptid1']))) branch_id, FileUtils().r_info8("b2_herp3_bs", "所有科室name", 'message6')['deptid1'])))
rec_org_name = 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( 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)) branch_id, type))
confirmUser = distrUser confirmUser = distrUser
ext_info = get_ext_info(branch_id, type) ext_info = get_ext_info(branch_id, type)
......
...@@ -543,17 +543,17 @@ using(pro_path + r'//air_case/b5_spd3_core_business_flow/a_a7流程五_中心库 ...@@ -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 from a_a7流程五_中心库入库结算_正结算3_内网验收入库结算 import check_accept_order,putaway
try: try:
# # 验收 # # 验收
check_accept_order(1) # 低值 # check_accept_order(3) # 试剂
time.sleep(6) # time.sleep(6)
check_mcms_check(1) check_mcms_check(3)
time.sleep(3) time.sleep(3)
check_accept_order(2) # 高值 check_accept_order(2) # 高值
time.sleep(6) time.sleep(6)
check_mcms_check(2) check_mcms_check(2)
time.sleep(3) time.sleep(3)
check_accept_order(3) # 试剂 check_accept_order(1) # 低值
time.sleep(6) time.sleep(6)
check_mcms_check(3) check_mcms_check(1)
# 入库上架 # 入库上架
putaway() putaway()
time.sleep(6) time.sleep(6)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment