diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/manage/ReviewByProvincialDeptManage.java b/pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/manage/ReviewByProvincialDeptManage.java index ba4cbed..6da8be5 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/manage/ReviewByProvincialDeptManage.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/manage/ReviewByProvincialDeptManage.java @@ -102,7 +102,7 @@ public class ReviewByProvincialDeptManage { throw new BusinessException("提交省级部门联审失败"); } Project p = projectLibManage.saveProjectWithVersionAndStatus(project,null, - ProjectStatusEnum.PENDING_PREQUALIFICATION.getCode()); + ProjectStatusEnum.JOINT_REVIEW_BY_PROVINCIAL_DEPARTMENTS.getCode()); //入库暂存表 后续处理 对接外部接口 projectInfo.setUpdateOn(LocalDateTime.now()); @@ -110,7 +110,6 @@ public class ReviewByProvincialDeptManage { projectInfo.setPreStartUserId(p.getSponsor()); //当前实例置为空 projectInfo.setInstCode(TodoCenterContant.Declared.NULL_INST_CODE); - projectStagingService.addByProject(projectInfo,"省级部门联审-重新提交"); declaringDTO.getProjectInfo().setId(p.getId()); return String.valueOf(p.getId()); } diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/ProjectLibManage.java b/pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/ProjectLibManage.java index 75ce1a6..b4003e4 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/ProjectLibManage.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/ProjectLibManage.java @@ -318,6 +318,7 @@ public class ProjectLibManage { List apps = applicationList.stream() .map(a -> { ProjectApplication app = BeanUtil.copyProperties(a,ProjectApplication.class); + app.setId(null); app.setProjectId(project.getId()); return app; })