PoffyZhang 1 anno fa
parent
commit
1edb495569
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. +1
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/ProjectLibManage.java

+ 1
- 0
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/ProjectLibManage.java Vedi File

@@ -215,6 +215,7 @@ public class ProjectLibManage {
List<ProjectApplication> applications = projectDto.getApplicationList().stream().map(application -> {
ProjectApplication projectApplication = new ProjectApplication();
BeanUtils.copyProperties(application, projectApplication);
projectApplication.setId(null);
projectApplication.setProjectId(finalProject.getId());
return projectApplication;
}).collect(Collectors.toList());


Loading…
Annulla
Salva