代码提交

This commit is contained in:
2020-08-31 22:04:08 +08:00
parent e80c55d599
commit 96c065c0a2
11 changed files with 125 additions and 19 deletions
@@ -62,6 +62,8 @@ public class UserPostController extends BaseController {
List<Posts> posts = postsService.findOneBy(id);
List<Tags> tags = tagsService.findByDId(id);
//查询id为1且parentId为null的评论
List<Posts> firstList = postsService.findAllByDIdAndparentIdNull(1);
//查询id为1且parentId不为null的评论