diff --git a/hz-pm-api/src/main/java/com/hz/pm/api/projectlib/manage/ProjectLibManage.java b/hz-pm-api/src/main/java/com/hz/pm/api/projectlib/manage/ProjectLibManage.java index 124d018..9398c15 100644 --- a/hz-pm-api/src/main/java/com/hz/pm/api/projectlib/manage/ProjectLibManage.java +++ b/hz-pm-api/src/main/java/com/hz/pm/api/projectlib/manage/ProjectLibManage.java @@ -962,6 +962,7 @@ public class ProjectLibManage { replaceInfo.setSourceSystem(systemName); replaceInfo.setTargetSystem(curr.getTargetSystemName()); replaceInfo.setBatchNo(i + 1); + replaceInfo.setSourceSystemId(curr.getSourceSystemId()); replaceInfos.add(replaceInfo); } } diff --git a/hz-pm-api/src/main/java/com/hz/pm/api/projectlib/model/dto/GovSystemReplaceInfoDTO.java b/hz-pm-api/src/main/java/com/hz/pm/api/projectlib/model/dto/GovSystemReplaceInfoDTO.java index f7a12a1..47b592b 100644 --- a/hz-pm-api/src/main/java/com/hz/pm/api/projectlib/model/dto/GovSystemReplaceInfoDTO.java +++ b/hz-pm-api/src/main/java/com/hz/pm/api/projectlib/model/dto/GovSystemReplaceInfoDTO.java @@ -36,6 +36,9 @@ public class GovSystemReplaceInfoDTO implements Serializable { @ApiModelProperty("替代方式") private String replaceType; + @ApiModelProperty("替代前系统id") + private String sourceSystemId; + @Override public boolean equals(Object o) { if (this == o) { @@ -47,7 +50,8 @@ public class GovSystemReplaceInfoDTO implements Serializable { GovSystemReplaceInfoDTO that = (GovSystemReplaceInfoDTO) o; return CollUtil.isEqualList(sourceSystemNames, that.sourceSystemNames) && Objects.equals(targetSystemName, that.targetSystemName) - && Objects.equals(replaceType, that.replaceType); + && Objects.equals(replaceType, that.replaceType) + && Objects.equals(sourceSystemId, that.sourceSystemId); } @Override