Java Code Examples for com.ruoyi.system.domain.SysConfig#setConfigKey()
The following examples show how to use
com.ruoyi.system.domain.SysConfig#setConfigKey() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SysConfigServiceImpl.java From supplierShop with MIT License | 5 votes |
/** * 根据键名查询参数配置信息 * * @param configKey 参数key * @return 参数键值 */ @Override public String selectConfigByKey(String configKey) { SysConfig config = new SysConfig(); config.setConfigKey(configKey); SysConfig retConfig = configMapper.selectConfig(config); return StringUtils.isNotNull(retConfig) ? retConfig.getConfigValue() : ""; }
Example 2
Source File: SysConfigServiceImpl.java From ruoyiplus with MIT License | 5 votes |
/** * 根据键名查询参数配置信息 * * @param configKey 参数key * @return 参数键值 */ @Override public String selectConfigByKey(String configKey) { SysConfig config = new SysConfig(); config.setConfigKey(configKey); SysConfig retConfig = configMapper.selectConfig(config); return StringUtils.isNotNull(retConfig) ? retConfig.getConfigValue() : ""; }
Example 3
Source File: SysConfigServiceImpl.java From RuoYi with Apache License 2.0 | 5 votes |
/** * 根据键名查询参数配置信息 * * @param configKey 参数key * @return 参数键值 */ @Override public String selectConfigByKey(String configKey) { SysConfig config = new SysConfig(); config.setConfigKey(configKey); SysConfig retConfig = configMapper.selectConfig(config); return ObjectUtil.isNotNull(retConfig) ? retConfig.getConfigValue() : "" ; }