分页修改和评论获取

This commit is contained in:
2020-08-17 17:42:34 +08:00
parent 72c98ba2f8
commit e80c55d599
18 changed files with 325 additions and 130 deletions
@@ -10,4 +10,8 @@ public interface IPostsService {
Posts insert(Posts posts);
List<Posts> findOneBy(Integer id);
List<Posts> findAllByDIdAndparentIdNull(Integer dId);
List<Posts> findAllByDIdAndparentIdNotNull(Integer dId);
}