fix(用例管理): 修复用例管理评论返回的用户信息中有空数据问题
--bug=1037064 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001037064
This commit is contained in:
parent
e8cb0e6fe2
commit
3103ea6155
|
@ -266,7 +266,7 @@ public class FunctionalCaseCommentService {
|
||||||
}
|
}
|
||||||
if (StringUtils.isNotBlank(functionalCaseComment.getNotifier())) {
|
if (StringUtils.isNotBlank(functionalCaseComment.getNotifier())) {
|
||||||
List<String> notifiers = Arrays.asList(functionalCaseComment.getNotifier().split(";"));
|
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);
|
functionalCaseCommentDTO.setCommentUserInfos(commentUserInfos);
|
||||||
list.add(functionalCaseCommentDTO);
|
list.add(functionalCaseCommentDTO);
|
||||||
|
|
Loading…
Reference in New Issue