洪城义警-正式版后台
zengh
2022-05-26 4c19ddd36bdfb43b5ef4e8df3c9a98cd4d356d6c
src/main/java/org/springblade/modules/article/mapper/ArticleMapper.java
@@ -2,7 +2,9 @@
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.springblade.modules.article.entity.Article;
import org.springblade.modules.article.vo.ArticleVo;
import java.util.List;
@@ -19,5 +21,29 @@
    * @param article 资讯对象
    * @return
    */
   List<Article> selectArticlePage(IPage<Article> page, Article article);
   List<Article> selectArticlePage(IPage<Article> page, @Param("article") ArticleVo article);
   List<Article> selectArticleG(IPage<Article> page, @Param("article") ArticleVo article);
   /**
    * 查询资讯分页信息(角色权限)
    * @param page
    * @param article 资讯对象
    * @return
    */
   List<Article> pageDate(IPage<Article> page, @Param("article") ArticleVo article);
   List<Article> pageWords(IPage<Article> page, @Param("article") ArticleVo article);
   List<Article> pageCollectList(IPage<Article> page, @Param("article") ArticleVo article);
   /**
    * 查询资讯分页信息(角色权限)附带评论点赞数量
    * @param page
    * @param article 资讯对象
    * @return
    */
   List<Article> pageLikes(IPage<Article> page, @Param("article") ArticleVo article);
   List<Article> pageCollect(IPage<Article> page, @Param("article") ArticleVo article);
   Boolean upcomment(String ids,String type);
}