Commit a0810337 by 段启岩

热门博主完成

parent b8c58889
...@@ -7,13 +7,14 @@ ...@@ -7,13 +7,14 @@
us.followed_num `statistics.followed_num`, us.followed_num `statistics.followed_num`,
us.fans_num `statistics.fans_num`, us.fans_num `statistics.fans_num`,
us.blog_num `statistics.blog_num`, us.blog_num `statistics.blog_num`,
us.blog_view_num `statistics.blogView_num`, us.blog_view_num `statistics.blog_view_num`,
us.project_num `statistics.project_num`, us.project_num `statistics.project_num`,
us.post_num `statistics.post_num`, us.post_num `statistics.post_num`,
us.question_num `statistics.question_num`, us.question_num `statistics.question_num`,
us.visited_num `statistics.visited_num` us.visited_num `statistics.visited_num`
from `user` u, user_statistics us from `user` u, user_statistics us
where u.user_id = us.user_id where u.user_id = us.user_id
AND US.blog_view_num > 0
order by us.blog_view_num desc order by us.blog_view_num desc
</select> </select>
</mapper> </mapper>
......
...@@ -449,6 +449,7 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IU ...@@ -449,6 +449,7 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IU
} }
PageDTO<UserFollowDTO> userFollowDTOPage = new PageDTO<>(); PageDTO<UserFollowDTO> userFollowDTOPage = new PageDTO<>();
PageUtils.copyMeta(userPage, userFollowDTOPage); PageUtils.copyMeta(userPage, userFollowDTOPage);
userFollowDTOPage.setDataList(userFollowDTOList);
return userFollowDTOPage; return userFollowDTOPage;
} }
} }
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