fix(用例管理): 修复用例管理评论返回的用户信息中有空数据问题

--bug=1037064 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001037064
This commit is contained in:
guoyuqi 2024-03-13 09:32:05 +08:00 committed by 刘瑞斌
parent e8cb0e6fe2
commit 3103ea6155
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ public class FunctionalCaseCommentService {
}
if (StringUtils.isNotBlank(functionalCaseComment.getNotifier())) {
List<String> notifiers = Arrays.asList(functionalCaseComment.getNotifier().split(";"));
notifiers.forEach(t-> commentUserInfos.add(userMap.get(functionalCaseComment.getReplyUser())));
notifiers.forEach(t-> commentUserInfos.add(userMap.get(t)));
}
functionalCaseCommentDTO.setCommentUserInfos(commentUserInfos);
list.add(functionalCaseCommentDTO);