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

开发在数据库中对部门请领的表增加了字段,create_from,所以需要调整脚本

parent 828582bc
...@@ -352,6 +352,7 @@ def check_mcms_psi_dept_batch(DR_ID,type,order_no): ...@@ -352,6 +352,7 @@ def check_mcms_psi_dept_batch(DR_ID,type,order_no):
) )
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_dept_batch3',batch_main_key, pid, order_no,source_detail_id 'mcms_psi_dept_batch3',batch_main_key, pid, order_no,source_detail_id
,pick_detail_id,hos_goods_id,mdm_goods_code,goods_code,source_batch_id, ,pick_detail_id,hos_goods_id,mdm_goods_code,goods_code,source_batch_id,
...@@ -396,7 +397,7 @@ def check_mcms_psi_dept(type=16): ...@@ -396,7 +397,7 @@ def check_mcms_psi_dept(type=16):
info = FileUtils().r_info8('b5_spd3_core_business_flow', "拣货单高值id", 'message26') info = FileUtils().r_info8('b5_spd3_core_business_flow', "拣货单高值id", 'message26')
DR_ID = info['DR_NO1高值'] DR_ID = info['DR_NO1高值']
else: else:
info = FileUtils().r_info8('b5_spd3_core_business_flow', "拣货单试剂id", 'message28') info = FileUtils().r_info8('b5_spd3_core_business_flow', "拣货单试剂id", 'message26')
DR_ID = info['DR_NO1试剂'] DR_ID = info['DR_NO1试剂']
DR_ID = ''.join(DR_ID) DR_ID = ''.join(DR_ID)
sql = "select order_no from mcms_psi_dept where id='%s';" % DR_ID sql = "select order_no from mcms_psi_dept where id='%s';" % DR_ID
......
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