From 6953990ff8c2dbeb0d87230680c0f6b3440c43b1 Mon Sep 17 00:00:00 2001 From: PoffyZhang <99775271@qq.com> Date: Wed, 26 Apr 2023 17:03:52 +0800 Subject: [PATCH] APP debug --- .../java/com/ningdatech/pmapi/projectlib/manage/ProjectLibManage.java | 1 + 1 file changed, 1 insertion(+) 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 4a440a4..5277eff 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 @@ -249,6 +249,7 @@ public class ProjectLibManage { List 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());