Commit 11f87d4a authored by xiao-hesheng's avatar xiao-hesheng
Browse files

流程十五脚本提交

parent cbf6d7cb
......@@ -177,9 +177,7 @@ def check_mcms_psi_dept_batch(DR_ID, type, order_no):
source_batch_id,
target_batch_id, barcode_id, shelf_code, create_user, create_time,
last_modified,
last_modified_user
)
last_modified_user)
elif type == 20:
expected = commonFuc().get_business_data('b6_spd3_core_business_flow_database_check',
'mcms_psi_dept_batch2', batch_main_key, pid, order_no, source_detail_id
......@@ -187,9 +185,7 @@ def check_mcms_psi_dept_batch(DR_ID, type, order_no):
source_batch_id,
target_batch_id, barcode_id, shelf_code, create_user, create_time,
last_modified,
last_modified_user
)
last_modified_user)
else:
expected = commonFuc().get_business_data('b6_spd3_core_business_flow_database_check',
'mcms_psi_dept_batch3_1', batch_main_key, pid, order_no,
......@@ -198,9 +194,7 @@ def check_mcms_psi_dept_batch(DR_ID, type, order_no):
source_batch_id,
target_batch_id, barcode_id, shelf_code, create_user, create_time,
last_modified,
last_modified_user
)
last_modified_user)
print('expected', expected)
print('aaaaaaaaaaaaaaaaa')
......@@ -459,7 +453,7 @@ try:
approval_center()#审批
putaway()#中心库上架
time.sleep(6)
check_mcms_psi_in(2) # 检查中心入库单数据库数据
check_mcms_psi_in(2) # 检查中心入库单数据库数据
updateUserLoginDefaultRange(get_listUserMgrRangePage1(2)) # 设置登录账号默认权限是二级库
second_dept_return_Out_Stock(1) # 低值耗材退货出库
time.sleep(6)
......@@ -467,14 +461,14 @@ try:
approval_center() # 审批
putaway() # 中心库上架
time.sleep(6)
check_mcms_psi_in(1) # 检查中心入库单数据库数据
check_mcms_psi_in(1) # 检查中心入库单数据库数据
updateUserLoginDefaultRange(get_listUserMgrRangePage1(2)) # 设置登录账号默认权限是二级库
second_dept_return_Out_Stock(3) # 试剂耗材退货出库
check_mcms_psi_dept_out(66) # 检查出库单数据库数据
approval_center() # 审批
putaway() # 中心库上架
time.sleep(6)
check_mcms_psi_in(3) # 检查中心入库单数据库数据
check_mcms_psi_in(3) # 检查中心入库单数据库数据
# ===============上面调通了================================
commonFuc().check_text_exist_result_text('succees', 'succees')
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