42 lines
782 B
Java
42 lines
782 B
Java
|
|
package io.renren.dao;
|
||
|
|
|
||
|
|
|
||
|
|
import io.renren.entity.SysConfig;
|
||
|
|
import org.apache.ibatis.annotations.Mapper;
|
||
|
|
|
||
|
|
import java.util.List;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 参数配置 数据层
|
||
|
|
*
|
||
|
|
* @author dcsoft
|
||
|
|
*/
|
||
|
|
@Mapper
|
||
|
|
public interface SysConfigMapper
|
||
|
|
{
|
||
|
|
/**
|
||
|
|
* 查询参数配置信息
|
||
|
|
*
|
||
|
|
* @param config 参数配置信息
|
||
|
|
* @return 参数配置信息
|
||
|
|
*/
|
||
|
|
public SysConfig selectConfig(SysConfig config);
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 通过ID查询配置
|
||
|
|
*
|
||
|
|
* @param configId 参数ID
|
||
|
|
* @return 参数配置信息
|
||
|
|
*/
|
||
|
|
public SysConfig selectConfigById(Long configId);
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 查询参数配置列表
|
||
|
|
*
|
||
|
|
* @param config 参数配置信息
|
||
|
|
* @return 参数配置集合
|
||
|
|
*/
|
||
|
|
public List<SysConfig> selectConfigList(SysConfig config);
|
||
|
|
|
||
|
|
}
|