diff --git a/src/main/java/com/spring/modules/quotation/service/impl/QuotationInformationServiceImpl.java b/src/main/java/com/spring/modules/quotation/service/impl/QuotationInformationServiceImpl.java index 243fd157..fadd9a4d 100644 --- a/src/main/java/com/spring/modules/quotation/service/impl/QuotationInformationServiceImpl.java +++ b/src/main/java/com/spring/modules/quotation/service/impl/QuotationInformationServiceImpl.java @@ -796,7 +796,7 @@ public class QuotationInformationServiceImpl extends ServiceImpl baseData = changeManagementService.getSubmitBaseData(data.getSite(), data.getUserName(), data.getDocumentNo()); // 主信息 - QuotationInformationEntity changeRequest = quotationInformationMapper.selectOne(new QueryWrapper().eq("site", data.getSite()).eq("quotation_no", data.getDocumentNo())); + QuotationInformationEntity changeRequest = quotationInformationMapper.selectList(new QueryWrapper().eq("site", data.getSite()).eq("quotation_batch_no", data.getDocumentNo())).get(0); ParamData paramData = new ParamData(data.getSite(), baseData.get("nodeId"), baseData.get("nodeName"), data.getDocumentNo(), data.getUserName(), baseData.get("classificationNo"), baseData.get("userId"), baseData.get("workflowId"), baseData.get("workflowname"), baseData.get("requestName"), baseData.get("path"), baseData.get("requestId"), "plm_quotation_information", "quotation_batch_no", "quotation_status", changeRequest.getStepId(), data.getBu() == null ? "" : data.getBu(),