询价接口修改

This commit is contained in:
dxc
2021-06-09 15:55:19 +08:00
parent 5bdad6ad09
commit 4bfb41601e

View File

@ -66,6 +66,7 @@ public class ISeatatEntrustServiceImpl extends BaseServiceImpl<ProjectEntrustMap
ProjectRecord recordVO = projectRecordService.getByInquiryId(projectEntrustVO.getProcurementPlanId()); ProjectRecord recordVO = projectRecordService.getByInquiryId(projectEntrustVO.getProcurementPlanId());
Map<String,String> sectionMaps = projectSectionService.getFlowList(recordVO.getId()); Map<String,String> sectionMaps = projectSectionService.getFlowList(recordVO.getId());
String sectionName = recordVO.getProjectName()+ "包件";
InquiryVO inquiryVO = projectEntrustVO.getProjectEntrustExpand().getInquiry(); InquiryVO inquiryVO = projectEntrustVO.getProjectEntrustExpand().getInquiry();
RootContext.bind(xid); RootContext.bind(xid);
projectRecordService.inquiryInitialize(recordVO.getId(), sectionMaps,inquiryVO.getReviewStartTime()); projectRecordService.inquiryInitialize(recordVO.getId(), sectionMaps,inquiryVO.getReviewStartTime());
@ -80,7 +81,7 @@ public class ISeatatEntrustServiceImpl extends BaseServiceImpl<ProjectEntrustMap
DocumentXjVO xjVO = new DocumentXjVO(); DocumentXjVO xjVO = new DocumentXjVO();
xjVO.setTpId(recordVO.getId()); xjVO.setTpId(recordVO.getId());
xjVO.setBsId(sectionId); xjVO.setBsId(sectionId);
xjVO.setBidSectName(recordVO.getProjectName()+ "包件"); xjVO.setBidSectName(sectionName);
xjVO.setList(inquiryVO.getAttachmentList()); xjVO.setList(inquiryVO.getAttachmentList());
BaseResponse<Boolean> response = bidApi.insertTp(xjVO); BaseResponse<Boolean> response = bidApi.insertTp(xjVO);
if(!response.isSuccess()){ if(!response.isSuccess()){
@ -93,7 +94,7 @@ public class ISeatatEntrustServiceImpl extends BaseServiceImpl<ProjectEntrustMap
tdocVO.setTpId(recordVO.getId()); tdocVO.setTpId(recordVO.getId());
tdocVO.setProjectName(recordVO.getProjectName()); tdocVO.setProjectName(recordVO.getProjectName());
tdocVO.setCreateDate(recordVO.getCreateDate()); tdocVO.setCreateDate(recordVO.getCreateDate());
tdocVO.setSectionName(recordVO.getProjectName()+ "包件"); tdocVO.setSectionName(sectionName);
tdocVO.setEndDate(inquiryVO.getEndTime()); tdocVO.setEndDate(inquiryVO.getEndTime());
log.info("询价项目初始化应答文件入参:"+ JsonUtils.objectToJson(tdocVO)); log.info("询价项目初始化应答文件入参:"+ JsonUtils.objectToJson(tdocVO));
response = ebtpRespsApi.initInquiryResponseFormat(tdocVO); response = ebtpRespsApi.initInquiryResponseFormat(tdocVO);