Commit bcddd6aa authored by 马志宇's avatar 马志宇 Committed by 马志宇

bug fix


(cherry picked from commit f216f9ac)
parent 94443f53
......@@ -118,7 +118,7 @@ public class ForumApi {
for (PostVo post : posts) {
Pair<Integer,List<PostVo>> postSearch = forumDataService.allPostListByParentId(passport, 0, 13,
post.getId(), PostTypeEnum.WORK.getType());
// post.setSubPost(postVos);
post.setSubPost(postSearch.getValue());
if(postSearch!=null) {
post.setSubPostCount(postSearch.getKey());
post.setSubPostHeaders(postSearch.getRight().stream().map(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment