浏览代码

重新提交 省级联审

tags/24080901
PoffyZhang 1年前
父节点
当前提交
a979649f21
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. +1
    -2
      pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/manage/ReviewByProvincialDeptManage.java
  2. +1
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/ProjectLibManage.java

+ 1
- 2
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());
}


+ 1
- 0
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/ProjectLibManage.java 查看文件

@@ -318,6 +318,7 @@ public class ProjectLibManage {
List<ProjectApplication> apps = applicationList.stream()
.map(a -> {
ProjectApplication app = BeanUtil.copyProperties(a,ProjectApplication.class);
app.setId(null);
app.setProjectId(project.getId());
return app;
})


正在加载...
取消
保存