package com.huaheng.pc.system.config.service; import com.huaheng.pc.system.config.domain.Config; import java.util.List; /** * 参数配置 服务层 * * @author huaheng */ public interface IConfigService { /** * 查询参数配置信息 * * @param id 参数配置ID * @return 参数配置信息 */ public Config selectConfigById(Integer id); /** * 根据键名查询参数配置信息 * * @param configKey 参数键名 * @return 参数键值 */ public String selectConfigByKey(String configKey); /** * 查询参数配置列表 * * @param config 参数配置信息 * @return 参数配置集合 */ public List<Config> selectConfigList(Config config); /** * 新增参数配置 * * @param config 参数配置信息 * @return 结果 */ public int insertConfig(Config config); /** * 修改参数配置 * * @param config 参数配置信息 * @return 结果 */ public int updateConfig(Config config); /** * 批量删除参数配置信息 * * @param ids 需要删除的数据ID * @return 结果 */ public int deleteConfigByIds(String ids); /** * 校验参数键名是否唯一 * * @param config 参数信息 * @return 结果 */ public Integer checkConfigKeyUnique(Config config); }