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

变更时内容未调整提示优化

关联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-16 10:50:38 +08:00
parent f4bbc53d65
commit db27fac652
1 changed files with 1 additions and 1 deletions

View File

@ -524,7 +524,7 @@ public class PmsProductRequirementServiceImpl implements IPmsProductRequirementS
throw new ServiceException("仅已评审和计划中的需求规格才能发起需求变更");
}
if (!productReqSpecsChangeVo.isReqChange(oldPmsProductRequirement)) {
throw new ServiceException("变更需求规格时,变更内容不能为空");
throw new ServiceException("当前无内容(标题、正文、附件)变更");
}
// 已评审或已计划的需规需要进行变更创建一条对应的需规