@Service
public class ConfigItemService
extends bap.core.service.BaseService
| Constructor and Description |
|---|
ConfigItemService() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValByKey(SystemConfig configKey)
功能描述: 根据全局配置的键取得对应的值
|
void |
saveOrUpdate(ConfigItem config)
功能描述: 修改参数配置
|
@Transactional(readOnly=true) public java.lang.String getValByKey(SystemConfig configKey)
configKey - 全局配置的键@Transactional public void saveOrUpdate(ConfigItem config)
configKey - 全局配置的键