|
|
@ -169,6 +169,7 @@ public class ActCommentServiceImpl extends BaseServiceImpl<ActCommentDao, ActCom |
|
|
|
if (!result.success()) { |
|
|
|
throw new RenException("调用user服务,获取用户基础数据失败"); |
|
|
|
} |
|
|
|
|
|
|
|
//3.查询活动评论所有人员的附件信息
|
|
|
|
List<CommentFileDTO> fileList = actCommentAttachmentService.getActComFile(formDTO.getGroupActId()); |
|
|
|
|
|
|
@ -184,7 +185,7 @@ public class ActCommentServiceImpl extends BaseServiceImpl<ActCommentDao, ActCom |
|
|
|
//每一条评论的附件信息
|
|
|
|
List<CommentFileDTO> imageList = new ArrayList<>(); |
|
|
|
for (CommentFileDTO f : fileList) { |
|
|
|
if (l.getCommentUserId().equals(f.getUserId())) { |
|
|
|
if (l.getCommentId().equals(f.getCommentId()) && l.getCommentUserId().equals(f.getUserId())) { |
|
|
|
imageList.add(f); |
|
|
|
} |
|
|
|
} |
|
|
|