diff --git a/hz-pm-api/src/main/java/com/hz/pm/api/meeting/manage/MeetingManage.java b/hz-pm-api/src/main/java/com/hz/pm/api/meeting/manage/MeetingManage.java index 6d44b7c..581ef97 100644 --- a/hz-pm-api/src/main/java/com/hz/pm/api/meeting/manage/MeetingManage.java +++ b/hz-pm-api/src/main/java/com/hz/pm/api/meeting/manage/MeetingManage.java @@ -1121,6 +1121,9 @@ public class MeetingManage { throw ReturnException.wrap("此会议未关联项目"); } MeetingInnerProject mip = meetingInnerProjectService.getById(req.getMeetingProjectId()); + if (mip.getReviewResult() != null) { + throw ReturnException.wrap("已上传专家评审结果"); + } BeanUtil.copyProperties(req, mip); mip.setId(req.getMeetingProjectId()); Project project = projectService.getById(mip.getProjectId()); diff --git a/hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/manage/ProjectReviewManage.java b/hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/manage/ProjectReviewManage.java index 3faf747..cdf641b 100644 --- a/hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/manage/ProjectReviewManage.java +++ b/hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/manage/ProjectReviewManage.java @@ -103,7 +103,7 @@ public class ProjectReviewManage { BeanUtils.copyProperties(reqProj, project); projectStateMachineUtil.pass(project); - if (projectService.save(project)) { + if (projectService.updateById(project)) { projectSaveHelper.saveApplication(reqProj, project, null); projectSaveHelper.savePaymentPlans(project, reqProj.getPaymentPlanList()); projectSaveHelper.saveGovSystemReplaceInfos(project.getId(), project.getProjectCode(), reqProj.getSystemReplaceInfos());