|
@@ -354,7 +354,7 @@ public class CacheServiceImpl implements CacheService {
|
|
|
@Override
|
|
|
@CachePut(value = SystemConstant.sysConfigCache, 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));
|
|
|
}
|
|
|
|
|
|
/**
|