linhw 2024-07-01 15:02:26 +08:00
parent 154a7e43cc
commit d1eae89f0c
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ public class AppDynamicCommentServiceImpl implements IAppDynamicCommentService
List<AppDynamicCommentVo> parentList = appDynamicComments.stream().filter(entity -> entity.getParentId() == null).collect(Collectors.toList());
List<AppDynamicCommentVo> srcList = appDynamicComments.stream().filter(entity -> entity.getParentId() != null).collect(Collectors.toList());
map.put("list",buildList(parentList,srcList));
map.put("countNum",appDynamicComments.size());
map.put("countNum",parentList.size());
return map;
}
public List<AppDynamicCommentVo> buildList(List<AppDynamicCommentVo> parentList,List<AppDynamicCommentVo> srcList){