|
@@ -588,7 +588,7 @@ public class CommonCacheServiceImpl implements CommonCacheService {
|
|
|
@Override
|
|
|
@CachePut(value = SystemConstant.SYS_CONFIG_CACHE, key = "#p0", condition = "#result != null")
|
|
|
public SysConfig updateSysConfigCache(String key) {
|
|
|
- return sysConfigService.getById(new QueryWrapper<SysConfig>().lambda().eq(SysConfig::getConfigKey, key));
|
|
|
+ return sysConfigService.getOne(new QueryWrapper<SysConfig>().lambda().eq(SysConfig::getConfigKey, key));
|
|
|
}
|
|
|
|
|
|
/**
|