|
|
@ -158,6 +158,7 @@ public class NoticeCommentServiceImpl extends BaseServiceImpl<NoticeCommentDao, |
|
|
|
|
|
|
|
//2.调用user服务,查询评论人员基础信息
|
|
|
|
List<String> userIdList = resultList.stream().map(NoticeCommentListResultDTO::getUserId).collect(Collectors.toList()); |
|
|
|
userIdList = userIdList.stream().distinct().collect(Collectors.toList()); |
|
|
|
Result<List<UserBaseInfoResultDTO>> result = epmetUserOpenFeignClient.queryUserBaseInfo(userIdList); |
|
|
|
if (!result.success()) { |
|
|
|
throw new RenException("调用user服务,获取用户基础数据失败"); |
|
|
|