package com.matrix.system.common.dao; import com.matrix.core.pojo.PaginationVO; import com.matrix.system.common.bean.BusParameterSettings; import org.apache.ibatis.annotations.Param; import java.util.List; import java.util.Map; /** * This field was generated by Zking.software.Codegen. * @date 2016-11-28 16:55 */ public interface BusParameterSettingsDao { public int insert(BusParameterSettings busParameterSettings); public int batchInsert(@Param("list") List busParameterSettingsList); public int updateByMap(Map modifyMap); public int updateByModel(BusParameterSettings busParameterSettings); public int deleteByIds(@Param("list") List list); public int deleteById(Long paramId); public int deleteByModel(@Param("record") BusParameterSettings busParameterSettings); public List selectInPage(@Param("record") BusParameterSettings busParameterSettings, @Param("pageVo") PaginationVO pageVo); public List selectByModel(@Param("record") BusParameterSettings busParameterSettings); public int selectTotalRecord(@Param("record") BusParameterSettings busParameterSettings); public BusParameterSettings selectById(Long paramId); public BusParameterSettings selectForUpdate(Long paramId); List selectByCodes(@Param("list")List codeList, @Param("companyId")Long companyId,@Param("shopId")Long shopId); List selectByCodesAndCompanyId(@Param("list")List codeList, @Param("companyId")Long companyId); BusParameterSettings selectByCode(@Param("code")String code, @Param("companyId")Long companyId,@Param("shopId")Long shopId); BusParameterSettings selectCompanyParamByCode(@Param("code")String code, @Param("companyId")Long companyId); int updateParams(@Param("list")List parameterSettings, @Param("companyId")Long companyId); }