| package com.matrix.system.hive.dao; | 
|   | 
| import com.matrix.core.pojo.PaginationVO; | 
| import com.matrix.system.hive.bean.ArticleComment; | 
| import org.apache.ibatis.annotations.Param; | 
|   | 
| import java.util.List; | 
|   | 
|   | 
|   | 
| /** | 
|  * | 
|  * @date 2016-12-12 11:26 | 
|  */ | 
|   | 
|   | 
| public interface ArticleCommentDao{ | 
|   | 
|     public int insert(ArticleComment articleComment); | 
|         | 
|     public int update(ArticleComment articleComment); | 
|      | 
|     public int deleteByIds(@Param("list") List<Long> list); | 
|      | 
|     public int deleteById(Long id); | 
|   | 
|     public int deleteByModel(@Param("record") ArticleComment articleComment); | 
|      | 
|     public List<ArticleComment> selectInPage(@Param("record") ArticleComment articleComment, @Param("pageVo") PaginationVO pageVo); | 
|   | 
|     public List<ArticleComment> selectByModel(@Param("record") ArticleComment articleComment); | 
|      | 
|     public int  selectTotalRecord(@Param("record") ArticleComment articleComment); | 
|      | 
|     public ArticleComment  selectById(Long id); | 
|      | 
| } |