You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
74 lines
1.5 KiB
74 lines
1.5 KiB
4 years ago
|
package com.ruoyi.system.service;
|
||
5 years ago
|
|
||
|
import java.util.List;
|
||
4 years ago
|
import com.ruoyi.system.domain.SysConfig;
|
||
5 years ago
|
|
||
|
/**
|
||
|
* 参数配置 服务层
|
||
|
*
|
||
|
* @author ruoyi
|
||
|
*/
|
||
|
public interface ISysConfigService
|
||
|
{
|
||
|
/**
|
||
|
* 查询参数配置信息
|
||
|
*
|
||
|
* @param configId 参数配置ID
|
||
|
* @return 参数配置信息
|
||
|
*/
|
||
|
public SysConfig selectConfigById(Long configId);
|
||
|
|
||
|
/**
|
||
|
* 根据键名查询参数配置信息
|
||
|
*
|
||
|
* @param configKey 参数键名
|
||
|
* @return 参数键值
|
||
|
*/
|
||
5 years ago
|
public String selectConfigByKey(String configKey);
|
||
5 years ago
|
|
||
|
/**
|
||
|
* 查询参数配置列表
|
||
|
*
|
||
|
* @param config 参数配置信息
|
||
|
* @return 参数配置集合
|
||
|
*/
|
||
|
public List<SysConfig> selectConfigList(SysConfig config);
|
||
|
|
||
|
/**
|
||
|
* 新增参数配置
|
||
|
*
|
||
|
* @param config 参数配置信息
|
||
|
* @return 结果
|
||
|
*/
|
||
|
public int insertConfig(SysConfig config);
|
||
|
|
||
|
/**
|
||
|
* 修改参数配置
|
||
|
*
|
||
|
* @param config 参数配置信息
|
||
|
* @return 结果
|
||
|
*/
|
||
|
public int updateConfig(SysConfig config);
|
||
|
|
||
5 years ago
|
/**
|
||
|
* 批量删除参数信息
|
||
|
*
|
||
|
* @param configIds 需要删除的参数ID
|
||
|
* @return 结果
|
||
|
*/
|
||
|
public int deleteConfigByIds(Long[] configIds);
|
||
|
|
||
5 years ago
|
/**
|
||
|
* 清空缓存数据
|
||
|
*/
|
||
|
public void clearCache();
|
||
|
|
||
5 years ago
|
/**
|
||
|
* 校验参数键名是否唯一
|
||
|
*
|
||
|
* @param config 参数信息
|
||
|
* @return 结果
|
||
|
*/
|
||
|
public String checkConfigKeyUnique(SysConfig config);
|
||
|
}
|