Helius
2020-12-17 df1b14344ba81cab80ddd118a12289d95f69e4a3
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
package com.matrix.system.hive.dao;
 
import com.matrix.core.pojo.PaginationVO;
import com.matrix.system.hive.bean.Article;
import org.apache.ibatis.annotations.Param;
import java.util.List;
 
 
/**
 *
 * @date 2016-07-15 11:19
 */
 
 
public interface ArticleDao{
 
    public int insert(Article article);
       
    public int update(Article article);
    
    public int deleteByIds(@Param("list") List<Long> list);
    
    public int deleteById(Long id);
    
    public List<Article> selectInPage(@Param("record") Article article, @Param("pageVo") PaginationVO pageVo);
 
    public List<Article> selectInPag(@Param("record") Article article, @Param("staPage") Integer staPage, @Param("endPage") Integer endPage);
    
    public List<Article> selectByModel(@Param("record") Article article);
    
    public int  selectTotalRecord(@Param("record") Article article);
    
    public Article  selectById(Long id);
    
}