...
|
...
|
@@ -97,6 +97,8 @@ public class GrassArticleCommentServiceImpl implements IGrassArticleCommentServi |
|
|
Map<Integer,UserInfoRspBO> userInfoRspBOMap = getUsersInfo(rspUids);
|
|
|
Map<Integer,ChildCommentTotalBo> childMap = BeanConvertUtil.convertMap(grassArticleCommentDao.selectChildTotalMapByIds(ids),ChildCommentTotalBo.class);
|
|
|
commentQueryRspList.forEach(com->{
|
|
|
//评论内容转义
|
|
|
com.setContent(HtmlUtils.translate(com.getContent()));
|
|
|
ChildCommentTotalBo bo = childMap.get(com.getId());
|
|
|
if(bo != null){
|
|
|
com.setChildTotal(bo.getTotal());
|
...
|
...
|
|