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)) {