| package com.matrix.system.hive.dao; | 
|   | 
| import com.matrix.core.pojo.PaginationVO; | 
| import com.matrix.system.hive.bean.SysInstoreDetail; | 
| import org.apache.ibatis.annotations.Param; | 
|   | 
| import java.util.List; | 
|   | 
|   | 
| /** | 
|  * | 
|  * @date 2016-07-15 13:10 | 
|  */ | 
|   | 
|   | 
| public interface SysInstoreDetailDao{ | 
|   | 
|     public int insert(SysInstoreDetail sysInstoreDetail); | 
|         | 
|     public int update(SysInstoreDetail sysInstoreDetail); | 
|      | 
|     public int deleteByIds(@Param("list") List<Long> list); | 
|      | 
|     public int deleteById(Long id); | 
|      | 
|     public List<SysInstoreDetail> selectInPage(@Param("record") SysInstoreDetail sysInstoreDetail, @Param("pageVo") PaginationVO pageVo); | 
|   | 
|     public List<SysInstoreDetail> selectByModel(@Param("record") SysInstoreDetail sysInstoreDetail); | 
|      | 
|     public int  selectTotalRecord(@Param("record") SysInstoreDetail sysInstoreDetail); | 
|      | 
|     public SysInstoreDetail  selectById(Long id); | 
|     /** | 
|      * 根据入库单id删除入库单明细 | 
|      * @author jiangyouyao | 
|      */ | 
|     public void deleteByInstoreId(Long id); | 
|   | 
|     public void batchInsert(List<SysInstoreDetail> addList); | 
|   | 
|     public List<SysInstoreDetail>  selectByOrderId(Long instoreId); | 
| } |