洪城义警-正式版后台
zengh
2021-10-09 86b6fcd12634fbb08a2bd8a2cf44205f7e1d2067
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,22 @@
    * @param article 资讯对象
    * @return
    */
   List<Article> selectArticlePage(IPage<Article> page, Article article);
   List<Article> selectArticlePage(IPage<Article> page, @Param("article") ArticleVo article);
   /**
    * 查询资讯分页信息(角色权限)
    * @param page
    * @param article 资讯对象
    * @return
    */
   List<Article> pageDate(IPage<Article> page, @Param("article") ArticleVo article);
   /**
    * 查询资讯分页信息(角色权限)附带评论点赞数量
    * @param page
    * @param article 资讯对象
    * @return
    */
   List<Article> pageLikes(IPage<Article> page, @Param("article") ArticleVo article);
   Boolean upcomment(String ids,String type);
}