60 lines
1.3 KiB
Java
Raw Normal View History

2018-10-07 14:16:47 +08:00
package com.ruoyi.system.mapper;
2018-07-09 08:44:52 +08:00
import java.util.List;
2018-10-07 14:16:47 +08:00
import com.ruoyi.system.domain.SysConfig;
2018-07-09 08:44:52 +08:00
/**
* 参数配置 数据层
*
* @author ruoyi
*/
2018-10-07 14:16:47 +08:00
public interface SysConfigMapper
2018-07-09 08:44:52 +08:00
{
/**
* 查询参数配置信息
*
2018-12-25 20:35:18 +08:00
* @param config 参数配置信息
2018-07-09 08:44:52 +08:00
* @return 参数配置信息
*/
2018-10-07 14:16:47 +08:00
public SysConfig selectConfig(SysConfig config);
2018-07-09 08:44:52 +08:00
/**
* 查询参数配置列表
*
* @param config 参数配置信息
* @return 参数配置集合
*/
2018-10-07 14:16:47 +08:00
public List<SysConfig> selectConfigList(SysConfig config);
2018-07-09 08:44:52 +08:00
2018-07-22 23:05:50 +08:00
/**
* 根据键名查询参数配置信息
*
* @param configKey 参数键名
* @return 参数配置信息
*/
2018-10-07 14:16:47 +08:00
public SysConfig checkConfigKeyUnique(String configKey);
2018-07-22 23:05:50 +08:00
2018-07-09 08:44:52 +08:00
/**
* 新增参数配置
*
* @param config 参数配置信息
* @return 结果
*/
2018-10-07 14:16:47 +08:00
public int insertConfig(SysConfig config);
2018-07-09 08:44:52 +08:00
/**
* 修改参数配置
*
* @param config 参数配置信息
* @return 结果
*/
2018-10-07 14:16:47 +08:00
public int updateConfig(SysConfig config);
2018-07-09 08:44:52 +08:00
/**
* 批量删除参数配置
*
* @param configIds 需要删除的数据ID
* @return 结果
*/
public int deleteConfigByIds(String[] configIds);
}