main
parent
154a7e43cc
commit
d1eae89f0c
|
|
@ -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){
|
||||
|
|
|
|||
Loading…
Reference in New Issue