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