修改询价推迟项目接口 原因进行记录

This commit is contained in:
dxc
2021-04-26 15:18:00 +08:00
parent b3d0f8f896
commit 42c3b3c6aa
2 changed files with 6 additions and 3 deletions

View File

@ -122,7 +122,6 @@ public class ISeatatEntrustServiceImpl extends BaseServiceImpl<ProjectEntrustMap
if(!response.isSuccess()){ if(!response.isSuccess()){
ProjectExceptionEnum.FRAME_EXCEPTION_PROJECT_SECTION_NOT_FIND.customValidName(response.getMessage(),!response.isSuccess()); ProjectExceptionEnum.FRAME_EXCEPTION_PROJECT_SECTION_NOT_FIND.customValidName(response.getMessage(),!response.isSuccess());
} }
result = response.getData();
} }
//修改评审室开始时间 //修改评审室开始时间
@ -133,9 +132,13 @@ public class ISeatatEntrustServiceImpl extends BaseServiceImpl<ProjectEntrustMap
if(!response.isSuccess()){ if(!response.isSuccess()){
ProjectExceptionEnum.FRAME_EXCEPTION_PROJECT_SECTION_NOT_FIND.customValidName(response.getMessage(),!response.isSuccess()); ProjectExceptionEnum.FRAME_EXCEPTION_PROJECT_SECTION_NOT_FIND.customValidName(response.getMessage(),!response.isSuccess());
} }
result = response.getData();
} }
ProjectRecord record = new ProjectRecord();
record.setId(section.getProjectId());
record.setTenderingContent(inquiryNoticeVO.getReason());
result = projectRecordService.updateById(record);
return result; return result;
} }
} }

View File

@ -261,10 +261,10 @@ public class ProjectExceptionServiceImpl extends BaseServiceImpl<ProjectExceptio
ProjectRecord projectRecord = new ProjectRecord(); ProjectRecord projectRecord = new ProjectRecord();
projectRecord.setStatus(ProjectCommonUtil.PROJECT_STATUS_9); projectRecord.setStatus(ProjectCommonUtil.PROJECT_STATUS_9);
projectRecord.setId(exception.getProjectId()); projectRecord.setId(exception.getProjectId());
projectRecord.setTenderingContent(inquiryNoticeVO.getReason());
projectRecordService.updateById(projectRecord); projectRecordService.updateById(projectRecord);
section.setStatus(ProjectCommonUtil.SECTION_STATUS_9); section.setStatus(ProjectCommonUtil.SECTION_STATUS_9);
section.setBusinessModule(ProjectCommonUtil.BUSINESS_MODULE_12);
projectSectionService.updateById(section); projectSectionService.updateById(section);
return result; return result;
} }