Browse Source

单位内部重新提交 应用信息没有了

master
PoffyZhang 1 year ago
parent
commit
0978d610fc
1 changed files with 5 additions and 3 deletions
  1. +5
    -3
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/ProjectLibManage.java

+ 5
- 3
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/ProjectLibManage.java View File

@@ -197,9 +197,11 @@ public class ProjectLibManage {
}else{
//否则是重新提交的 新生成一个新版本的项目
project = newProjectWithVersion(projectDto);
project.setInstCode(instanceId);
project.setSponsor(employeeCode);
projectService.updateById(project);
if(Objects.nonNull(project)){
project.setInstCode(instanceId);
project.setSponsor(employeeCode);
projectService.updateById(project);
}
}

//保存项目应用


Loading…
Cancel
Save