PostsCommentsService.java 941 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. package com.nosum.deliver.posts.service;
  2. import com.nosum.common.base.domain.Result;
  3. import com.nosum.common.base.service.BaseService;
  4. import com.nosum.deliver.posts.domain.po.PostsComments;
  5. import com.nosum.deliver.posts.domain.vo.PostsCommentsVO;
  6. /**
  7. * <p>
  8. * 评论表 服务类
  9. * </p>
  10. * @author sumbytes
  11. * @since 2019-09-03
  12. */
  13. public interface PostsCommentsService extends BaseService<PostsComments> {
  14. /**
  15. * 新增评论
  16. */
  17. Result savePostsComments(PostsCommentsVO postsCommentsVO);
  18. /**
  19. * 根据文章的主键查询评论列表
  20. */
  21. Result getPostsCommentsByPostsIdList(PostsCommentsVO postsCommentsVO);
  22. /**
  23. * 查询评论列表
  24. */
  25. Result getPostsCommentsList(PostsCommentsVO postsCommentsVO);
  26. /**
  27. * 删除评论
  28. */
  29. Result deletePostsComments(Long id);
  30. Result getPostsComment(Long id);
  31. Result replyComments(PostsCommentsVO postsCommentsVO);
  32. }