| package com.matrix.system.hive.dao; | 
|   | 
| import com.matrix.core.pojo.PaginationVO; | 
| import com.matrix.system.hive.bean.SysAllotDetail; | 
| import org.apache.ibatis.annotations.Param; | 
|   | 
| import java.util.List; | 
|   | 
|   | 
| /** | 
|  * | 
|  * @date 2016-07-18 18:11 | 
|  */ | 
|   | 
|   | 
| public interface SysAllotDetailDao{ | 
|   | 
|     public int insert(SysAllotDetail sysAllotDetail); | 
|         | 
|     public int update(SysAllotDetail sysAllotDetail); | 
|      | 
|     public int deleteByIds(@Param("list") List<Long> list); | 
|      | 
|     public int deleteById(Long id); | 
|      | 
|     public List<SysAllotDetail> selectInPage(@Param("record") SysAllotDetail sysAllotDetail, @Param("pageVo") PaginationVO pageVo); | 
|   | 
|     public List<SysAllotDetail> selectByModel(@Param("record") SysAllotDetail sysAllotDetail); | 
|   | 
|     public List<SysAllotDetail> selectAllottedDetailByOrderId(Long alltoId); | 
|   | 
|     public int  selectTotalRecord(@Param("record") SysAllotDetail sysAllotDetail); | 
|      | 
|     public SysAllotDetail  selectById(Long id); | 
|     /** | 
|      * 根据对象集合批量删除 | 
|      *  | 
|      * @author jiangyouyao | 
|      * @param list 对象集合 | 
|      * @return | 
|      */ | 
|     public int deleteByBeans(List<SysAllotDetail> list); | 
|      | 
|     public int batchInsert(@Param("list") List<SysAllotDetail> list); | 
|   | 
|     public void deletebyAllottedInfoId(Long id); | 
|      | 
| } |