From fc45f6c5efd24ee6dbcdec4916971e2324ac1ca4 Mon Sep 17 00:00:00 2001 From: WendyYang Date: Thu, 8 Aug 2024 14:26:26 +0800 Subject: [PATCH] =?UTF-8?q?modify:=201.=20=E9=A1=B9=E7=9B=AE=E5=8F=98?= =?UTF-8?q?=E6=9B=B4=E4=BF=AE=E6=94=B9=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/hz/pm/api/projectdeclared/model/dto/EditProjectDTO.java | 3 +++ .../main/java/com/hz/pm/api/projectlib/manage/ProjectChangeManage.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/model/dto/EditProjectDTO.java b/hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/model/dto/EditProjectDTO.java index 9f5d7be..baa5f8f 100644 --- a/hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/model/dto/EditProjectDTO.java +++ b/hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/model/dto/EditProjectDTO.java @@ -29,6 +29,9 @@ public class EditProjectDTO { @ApiModelProperty("主键") private Long id; + @ApiModelProperty("项目编码") + private String projectCode; + @ApiModelProperty("所属地区编号") private String areaCode; diff --git a/hz-pm-api/src/main/java/com/hz/pm/api/projectlib/manage/ProjectChangeManage.java b/hz-pm-api/src/main/java/com/hz/pm/api/projectlib/manage/ProjectChangeManage.java index 712ce28..447900a 100644 --- a/hz-pm-api/src/main/java/com/hz/pm/api/projectlib/manage/ProjectChangeManage.java +++ b/hz-pm-api/src/main/java/com/hz/pm/api/projectlib/manage/ProjectChangeManage.java @@ -93,7 +93,7 @@ public class ProjectChangeManage { ProjectDetailVO projDetailOld = projectLibManage.getProjectDetail(project); List projDiffs = BeanDiffUtil.diffSameField(projDetailOld, projJsonObj, - ProjectDTO.SYSTEM_REPLACE_INFOS, "id", "projectCode", "stage", "status"); + EditProjectDTO.SYSTEM_REPLACE_INFOS, "id", "projectCode"); List systemReplaceInfos = reqProj.getSystemReplaceInfos(); List systemReplaceInfosOld = projDetailOld.getSystemReplaceInfos(); if (!CollUtil.isEqualList(systemReplaceInfos, systemReplaceInfosOld)) {