package com.matrix.system.hive.dao; import java.util.List; import com.matrix.system.hive.bean.ServiceRecord; import org.apache.ibatis.annotations.Param; import com.matrix.core.pojo.PaginationVO; /** * * @date 2016-08-06 16:15 */ public interface ServiceRecordDao{ public int insert(ServiceRecord serviceRecord); public int update(ServiceRecord serviceRecord); public int deleteByIds(@Param("list") List list); public int deleteById(Long id); public List selectInPage(@Param("record") ServiceRecord serviceRecord, @Param("pageVo") PaginationVO pageVo); public List selectByModel(@Param("record") ServiceRecord serviceRecord); public int selectTotalRecord(@Param("record") ServiceRecord serviceRecord); public ServiceRecord selectById(Long id); }