|
@@ -112,6 +112,7 @@ public class CommunityCommentController extends BaseController {
|
|
BeanUtils.copyProperties(reply, replyVo);
|
|
BeanUtils.copyProperties(reply, replyVo);
|
|
replyVo.setNickName(sysUserService.selectUserById(replyVo.getUserId()).getNickName());
|
|
replyVo.setNickName(sysUserService.selectUserById(replyVo.getUserId()).getNickName());
|
|
replyVo.setReply(true);
|
|
replyVo.setReply(true);
|
|
|
|
+ replyVo.setAvatar(sysUserService.selectUserById(replyVo.getUserId()).getAvatar());
|
|
replyVos.add(replyVo);
|
|
replyVos.add(replyVo);
|
|
//设置点赞数量和当前登录用户是否已点赞
|
|
//设置点赞数量和当前登录用户是否已点赞
|
|
List<CommunityCommentLike> commentLikeList = communityCommentLikeMapper.selectList(new QueryWrapper<CommunityCommentLike>()
|
|
List<CommunityCommentLike> commentLikeList = communityCommentLikeMapper.selectList(new QueryWrapper<CommunityCommentLike>()
|