|  |  |  | 
|---|
|  |  |  | 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<BusParameterSettings> busParameterSettingsList); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public int updateByMap(Map<String, Object> modifyMap); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public int updateByModel(BusParameterSettings busParameterSettings); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public int deleteByIds(@Param("list") List<Long> list); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public int deleteById(Long paramId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public int deleteByModel(@Param("record") BusParameterSettings busParameterSettings); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public List<BusParameterSettings> selectInPage(@Param("record") BusParameterSettings busParameterSettings, @Param("pageVo") PaginationVO pageVo); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public List<BusParameterSettings> selectByModel(@Param("record") BusParameterSettings busParameterSettings); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public int  selectTotalRecord(@Param("record") BusParameterSettings busParameterSettings); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public BusParameterSettings  selectById(Long paramId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public BusParameterSettings  selectForUpdate(Long paramId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<BusParameterSettings> selectByCodes(@Param("list")List<String> codeList, @Param("companyId")Long companyId,@Param("shopId")Long shopId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 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<BusParameterSettings> parameterSettings, @Param("companyId")Long companyId); | 
|---|
|  |  |  | 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<BusParameterSettings> busParameterSettingsList); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public int updateByMap(Map<String, Object> modifyMap); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public int updateByModel(BusParameterSettings busParameterSettings); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public int deleteByIds(@Param("list") List<Long> list); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public int deleteById(Long paramId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public int deleteByModel(@Param("record") BusParameterSettings busParameterSettings); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public List<BusParameterSettings> selectInPage(@Param("record") BusParameterSettings busParameterSettings, @Param("pageVo") PaginationVO pageVo); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public List<BusParameterSettings> selectByModel(@Param("record") BusParameterSettings busParameterSettings); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public int  selectTotalRecord(@Param("record") BusParameterSettings busParameterSettings); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public BusParameterSettings  selectById(Long paramId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public BusParameterSettings  selectForUpdate(Long paramId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<BusParameterSettings> selectByCodes(@Param("list")List<String> codeList, @Param("companyId")Long companyId,@Param("shopId")Long shopId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<BusParameterSettings> selectByCodesAndCompanyId(@Param("list")List<String> 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<BusParameterSettings> parameterSettings, @Param("companyId")Long companyId); | 
|---|
|  |  |  | } | 
|---|