洪城义警-正式版后台
zengh
2022-05-26 4310c19a73f960dfd79c90cfe960cf564b068f72
src/main/java/org/springblade/modules/article/service/ArticleService.java
@@ -2,8 +2,11 @@
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;
import org.springblade.modules.article.entity.Article;
import org.springblade.modules.article.vo.ArticleVo;
import java.util.List;
/**
 * @author zhongrj
@@ -18,6 +21,7 @@
    * @return
    */
   IPage<Article> selectArticlePage(IPage<Article> page, ArticleVo article);
   IPage<Article> selectArticleG(IPage<Article> page, ArticleVo article);
   /**
    * 查询资讯分页信息(角色权限)
@@ -27,6 +31,10 @@
    */
   IPage<Article> pageDate(IPage<Article> page, ArticleVo article);
   IPage<Article> pageWords(IPage<Article> page, ArticleVo article);
   IPage<Article> pageCollectList(IPage<Article> page, ArticleVo article);
   /**
    * 查询资讯分页信息(角色权限)附带评论点赞数
    * @param page
@@ -35,5 +43,13 @@
    */
   IPage<Article> pageLikes(IPage<Article> page, ArticleVo article);
   /**
    * 查看已收藏的资讯
    * @param page
    * @param article 资讯对象
    * @return
    */
   IPage<Article> pageCollect(IPage<Article> page, ArticleVo article);
   Boolean upcomment(String ids,String type);
}