Browse Source

modify:

1. 项目变更修改;
tags/24080901
WendyYang 5 months ago
parent
commit
fc45f6c5ef
2 changed files with 4 additions and 1 deletions
  1. +3
    -0
      hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/model/dto/EditProjectDTO.java
  2. +1
    -1
      hz-pm-api/src/main/java/com/hz/pm/api/projectlib/manage/ProjectChangeManage.java

+ 3
- 0
hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/model/dto/EditProjectDTO.java View File

@@ -29,6 +29,9 @@ public class EditProjectDTO {
@ApiModelProperty("主键") @ApiModelProperty("主键")
private Long id; private Long id;


@ApiModelProperty("项目编码")
private String projectCode;

@ApiModelProperty("所属地区编号") @ApiModelProperty("所属地区编号")
private String areaCode; private String areaCode;




+ 1
- 1
hz-pm-api/src/main/java/com/hz/pm/api/projectlib/manage/ProjectChangeManage.java View File

@@ -93,7 +93,7 @@ public class ProjectChangeManage {
ProjectDetailVO projDetailOld = projectLibManage.getProjectDetail(project); ProjectDetailVO projDetailOld = projectLibManage.getProjectDetail(project);


List<FieldDiff> projDiffs = BeanDiffUtil.diffSameField(projDetailOld, projJsonObj, List<FieldDiff> projDiffs = BeanDiffUtil.diffSameField(projDetailOld, projJsonObj,
ProjectDTO.SYSTEM_REPLACE_INFOS, "id", "projectCode", "stage", "status");
EditProjectDTO.SYSTEM_REPLACE_INFOS, "id", "projectCode");
List<GovSystemReplaceInfoDTO> systemReplaceInfos = reqProj.getSystemReplaceInfos(); List<GovSystemReplaceInfoDTO> systemReplaceInfos = reqProj.getSystemReplaceInfos();
List<GovSystemReplaceInfoDTO> systemReplaceInfosOld = projDetailOld.getSystemReplaceInfos(); List<GovSystemReplaceInfoDTO> systemReplaceInfosOld = projDetailOld.getSystemReplaceInfos();
if (!CollUtil.isEqualList(systemReplaceInfos, systemReplaceInfosOld)) { if (!CollUtil.isEqualList(systemReplaceInfos, systemReplaceInfosOld)) {


Loading…
Cancel
Save