Houjie
8 天以前 ed32b4831acf1612d23015d85ff4a14db7f9f77d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package org.jeecg.modules.system.service;
 
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.system.entity.SysParams;
import org.springframework.stereotype.Service;
 
import javax.validation.constraints.NotNull;
import java.util.List;
 
/**
 * @Description: 系统参数表
 * @Author: server-boot
 * @Date:   2020-12-28
 * @Version: V1.0
 */
@Service
public interface ISysParamsService extends  IService<SysParams> {
    /**
     * 根据参数键获取值
     * @param settingKey 键
     *
     * */
    public List<SysParams> getSysPramsBySettingKey(String settingKey);
 
    /**
     * 查询配置信息
     * @param keyName
     * @return
     */
    SysParams getSysPramBySettingKey(@NotNull String keyName);
}