|
|
|
@ -487,16 +487,22 @@ public class RequestManageServiceImpl extends ServiceImpl<RequestManageMapper, P |
|
|
|
paramData.setStepId(processList.get(0).getStepId()); |
|
|
|
if (Constant.ECN.equals(inData.getDocumentType())) { |
|
|
|
paramData.setTableName("plm_change_request"); |
|
|
|
paramData.setFieldName1("change_no"); |
|
|
|
} else if (Constant.DY_PR.equals(inData.getDocumentType())) { |
|
|
|
paramData.setTableName("plm_proofing_information"); |
|
|
|
paramData.setFieldName1("proofing_no"); |
|
|
|
} else if (Constant.TEST.equals(inData.getDocumentType())) { |
|
|
|
paramData.setTableName("plm_test_information"); |
|
|
|
paramData.setFieldName1("test_no"); |
|
|
|
} else if (Constant.TOOL.equals(inData.getDocumentType())) { |
|
|
|
paramData.setTableName("plm_project_tool_applyHeader"); |
|
|
|
paramData.setFieldName1("apply_no"); |
|
|
|
} else if (Constant.QUOTATION.equals(inData.getDocumentType())) { |
|
|
|
paramData.setTableName("plm_quotation_information"); |
|
|
|
paramData.setFieldName1("quotation_batch_no"); |
|
|
|
} else if (Constant.BM.equals(inData.getDocumentType())) { |
|
|
|
paramData.setTableName("plm_technical_specification_sheet"); |
|
|
|
paramData.setFieldName1("code_no"); |
|
|
|
paramData.setRevisionNo(inData.getRevisionNo()); |
|
|
|
} |
|
|
|
changeManagementMapper.updateStepId2(paramData); |
|
|
|
|