洪城义警-正式版后台
zengh
2021-11-19 df228e999b0ac567ac551e6a3339b5ecb548476f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
package org.springblade.modules.article.service;
 
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springblade.modules.article.entity.Article;
import org.springblade.modules.article.vo.ArticleVo;
 
/**
 * @author zhongrj
 * 资讯服务接口层
 */
public interface ArticleService extends IService<Article> {
 
    /**
     * 查询资讯分页信息
     * @param page
     * @param article 资讯对象
     * @return
     */
    IPage<Article> selectArticlePage(IPage<Article> page, ArticleVo article);
 
    /**
     * 查询资讯分页信息(角色权限)
     * @param page
     * @param article 资讯对象
     * @return
     */
    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
     * @param article 资讯对象
     * @return
     */
    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);
}