fix(项目管理产品需求重构): 完善产品需求规格逻辑

当附件标识字段为Null时代表附件未更新

关联Issue:
https://pm.gitlink.org.cn/Gitlink/projects/228/bug/124100

Signed-off-by: OTTO <731554297@qq.com>
This commit is contained in:
OTTO 2024-12-17 16:05:49 +08:00
parent feba3b82ed
commit 87c17a2c7d
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ public class ProductReqSpecsChangeVo {
if (StringUtils.isNotEmpty(this.getTitle()) && !this.title.equals(oldPmsProductRequirement.getTitle())) {
return true;
}
return !Objects.equals(this.getFileIdentifiers(), oldPmsProductRequirement.getFileIdentifiers());
return this.getFileIdentifiers() != null && !Objects.equals(this.getFileIdentifiers(), oldPmsProductRequirement.getFileIdentifiers());
}
public PmsProductRequirement toPmsProductRequirement() {