| package com.matrix.system.hive.dao; | 
|   | 
| import com.matrix.system.hive.bean.SysGoodsType; | 
| import org.apache.ibatis.annotations.Param; | 
|   | 
| import com.matrix.core.pojo.PaginationVO; | 
|   | 
| import java.util.List; | 
|   | 
|   | 
|   | 
| /** | 
|  * | 
|  * @date 2016-07-03 20:53 | 
|  */ | 
|   | 
|   | 
| public interface SysGoodsTypeDao{ | 
|   | 
|     public int insert(SysGoodsType sysGoodsType); | 
|         | 
|     public int update(SysGoodsType sysGoodsType); | 
|      | 
|     public int deleteByIds(@Param("list") List<Long> list); | 
|      | 
|     public int deleteById(Long id); | 
|      | 
|     public List<SysGoodsType> selectInPage(@Param("record") SysGoodsType sysGoodsType, @Param("pageVo") PaginationVO pageVo); | 
|   | 
|     public List<SysGoodsType> selectByModel(@Param("record") SysGoodsType sysGoodsType); | 
|      | 
|     public int  selectTotalRecord(@Param("record") SysGoodsType sysGoodsType); | 
|      | 
|     public SysGoodsType selectById(Long id); | 
|      | 
|     public List<SysGoodsType> selectChild(Long id); | 
|      | 
| } |