| package com.matrix.system.hive.dao; | 
|   | 
| import com.matrix.core.pojo.PaginationVO; | 
| import com.matrix.system.hive.bean.Article; | 
| import com.matrix.system.hive.bean.ArticleType; | 
| 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); | 
|   | 
|     public List<Article> selectApiArticleListInPage(@Param("record") Article article, @Param("pageVo") PaginationVO pageVo); | 
|   | 
| } |