From 67f2ff0005e54ce21cc9ba76d83bb4895a4c1a6a Mon Sep 17 00:00:00 2001 From: PoffyZhang <99775271@qq.com> Date: Mon, 17 Jul 2023 11:06:43 +0800 Subject: [PATCH] =?UTF-8?q?debug=20=E5=BB=BA=E8=AE=BE=E6=96=B9=E6=A1=88=20?= =?UTF-8?q?=E4=B8=8D=E6=94=B9=E5=8F=98=20=E9=A1=B9=E7=9B=AE=E7=BC=96?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ningdatech/pmapi/projectlib/manage/ProjectLibManage.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 96a0064..ac0e867 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 @@ -333,8 +333,7 @@ public class ProjectLibManage { project.setStatus(ProjectStatusEnum.SCHEME_UNDER_REVIEW.getCode()); project.setInstCode(instanceId); project.setSponsor(employeeCode); - String projectCode = generateProjectCodeUtil.generateProjectCode(projectDto); - project.setProjectCode(projectCode); + project.setProjectCode(oldProject.getProjectCode()); // 标记为建设方案申报 project.setIsConstruct(Boolean.TRUE); // 保存初步方案项目ID