From 1edb495569d4f8e4cc633708433ae05518523dde Mon Sep 17 00:00:00 2001 From: PoffyZhang <99775271@qq.com> Date: Wed, 26 Apr 2023 15:45:07 +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 72319a4..4a440a4 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 @@ -215,6 +215,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());