Blame view

src/main/java/com/sincere/student/mapper/ArticleMapper.java 688 Bytes
b9411514   陈杰   first
1
2
3
4
package com.sincere.student.mapper;

import com.sincere.student.dto.ArticleSearchDto;
import com.sincere.student.model.Article;
123dbb81   徐泉   研学代码提交
5
import org.apache.ibatis.annotations.Param;
b9411514   陈杰   first
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

import java.util.List;

public interface ArticleMapper {

    List<Article> getList(ArticleSearchDto articleSearchDto);

    int getListCount(ArticleSearchDto articleSearchDto);

    List<Article> getRelationList(int universityId);

    Article selectById(int id);

    int create(Article article);

    int delete(int id);

    int update(Article article);
fafdccdc   陈杰   bug 修复
24
25

    Article getAdvert();
123dbb81   徐泉   研学代码提交
26
27

    List<Article> countSort(@Param(value = "sort") int sort, @Param(value = "flag") int flag, @Param(value = "id") Integer id);
b9411514   陈杰   first
28
}