Commit eeaa1c4b authored by xiao-hesheng's avatar xiao-hesheng
Browse files

流程十七脚本提交

parent 96a46429
...@@ -118,7 +118,7 @@ def check_mcms_psi_out(type=1): ...@@ -118,7 +118,7 @@ def check_mcms_psi_out(type=1):
, create_time, last_modified, last_modified_user) , create_time, last_modified, last_modified_user)
else: else:
check_mcms_psi_batch_out(id, type, order_no, source_id) check_mcms_psi_batch_out(id, type, order_no, source_id)
expected = commonFuc().get_business_data('b6_spd3_core_business_flow_database_check', 'check_mcms_psi_out_1_3', id, expected = commonFuc().get_business_data('b6_spd3_core_business_flow_database_check', 'check_mcms_psi_out_1_3',id,
order_no, target_corp_id, target_branch_id, target_dept_id, order_no, target_corp_id, target_branch_id, target_dept_id,
target_dept_name, target_stock_id target_dept_name, target_stock_id
, target_area_code, source_id, source_no, source_repl_id, , target_area_code, source_id, source_no, source_repl_id,
...@@ -198,8 +198,8 @@ def check_mcms_psi_batch_out(DR_ID, type, order_no, source_id1): ...@@ -198,8 +198,8 @@ def check_mcms_psi_batch_out(DR_ID, type, order_no, source_id1):
last_modified_user = create_user last_modified_user = create_user
if type == 1: if type == 1:
expected = commonFuc().get_business_data('b6_spd3_core_business_flow_database_check', expected = commonFuc().get_business_data('b6_spd3_core_business_flow_database_check',
'mcms_psi_batch_out1_1', batch_main_key, pid, order_no, source_detail_id 'mcms_psi_batch_out1_1', batch_main_key, pid, order_no, source_detail_id
, hos_goods_id, mdm_goods_code, goods_code, source_batch_id,pick_detail_id, , pick_detail_id,hos_goods_id, mdm_goods_code, goods_code, source_batch_id,
target_batch_id, barcode_id, shelf_code, create_user, create_time, target_batch_id, barcode_id, shelf_code, create_user, create_time,
last_modified, last_modified_user last_modified, last_modified_user
...@@ -214,8 +214,8 @@ def check_mcms_psi_batch_out(DR_ID, type, order_no, source_id1): ...@@ -214,8 +214,8 @@ def check_mcms_psi_batch_out(DR_ID, type, order_no, source_id1):
) )
else: else:
expected = commonFuc().get_business_data('b6_spd3_core_business_flow_database_check', expected = commonFuc().get_business_data('b6_spd3_core_business_flow_database_check',
'mcms_psi_batch_out1_3', batch_main_key, pid, order_no, source_detail_id 'mcms_psi_batch_out1_3', batch_main_key, pid, order_no, source_detail_id
, hos_goods_id, mdm_goods_code, goods_code, source_batch_id,pick_detail_id, , pick_detail_id,hos_goods_id, mdm_goods_code, goods_code, source_batch_id,
target_batch_id, barcode_id, shelf_code, create_user, create_time, target_batch_id, barcode_id, shelf_code, create_user, create_time,
last_modified, last_modified_user last_modified, last_modified_user
...@@ -409,13 +409,15 @@ try: ...@@ -409,13 +409,15 @@ try:
# center_Stock_return_Out(2) #高值耗材退货出库 # center_Stock_return_Out(2) #高值耗材退货出库
# time.sleep(6) # time.sleep(6)
# check_mcms_psi_out(2)#检查出库单主表和子表 # check_mcms_psi_out(2)#检查出库单主表和子表
check_mcms_pick(20) #检查拣货单主表和子表 # check_mcms_pick(20) #检查拣货单主表和子表
center_Stock_return_Out(1) #低值耗材退货出库 # center_Stock_return_Out(1) #低值耗材退货出库
time.sleep(6) # time.sleep(6)
check_mcms_psi_out(1) check_mcms_psi_out(1)
check_mcms_pick(16) # 检查拣货单主表和子表
center_Stock_return_Out(3) #试剂耗材退货出库 center_Stock_return_Out(3) #试剂耗材退货出库
time.sleep(6) time.sleep(6)
check_mcms_psi_out(3) check_mcms_psi_out(3)
check_mcms_pick(66) # 检查拣货单主表和子表
commonFuc().check_text_exist_result_text('succees', 'succees') commonFuc().check_text_exist_result_text('succees', 'succees')
except Exception as e: except Exception as e:
# 打印错误信息 # 打印错误信息
......
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