package com.hx.phip.dao.mapper; import java.util.List; import java.util.Map; import com.hx.mybatisTool.SqlSentence; import com.hx.phiappt.model.deduction.DeductionDeviceParameter; import org.apache.ibatis.annotations.Param; public interface DeductionDeviceParameterMapper { /**新增,返回主键*/ int insert(DeductionDeviceParameter deductionDeviceParameter); /**查询条数*/ int selectCount(SqlSentence sqlSentence); /**查询条数*/ int selectCountSql(SqlSentence sqlSentence); /**查询列表,返回实体类的List*/ List selectList(SqlSentence sqlSentence); /**查询列表,返回实体类的List*/ List selectListByDeductionSingleId(@Param("deductionSingleId") String deductionSingleId, @Param("deductionProjectId") String deductionProjectId); /**查询列表,返回Map的List*/ List> selectListMap(SqlSentence sqlSentence); /**查询,返回单个实体*/ DeductionDeviceParameter selectOne(SqlSentence sqlSentence); /**查询,返回单个map*/ Map selectOneMap(SqlSentence sqlSentence); /**查询,返回实体类没有大数据的*/ DeductionDeviceParameter selectOneByKey(Object object); /**查询,返回实体类有大数据的*/ DeductionDeviceParameter selectOneByKeyBlob(Object object); /**更新,返回更新数量*/ int updateWhere(SqlSentence sqlSentence); /**更新,返回更新数量*/ int updateAll(DeductionDeviceParameter deductionDeviceParameter); /**删除,返回删除数量*/ int deleteWhere(SqlSentence sqlSentence); /**删除,返回删除数量*/ int deleteById(Object object); /**删除,返回删除数量*/ int deleteByDeductionSingleId(@Param("deductionSingleId") String deductionSingleId, @Param("deductionProjectId") String deductionProjectId); }