|
@@ -154,6 +154,7 @@ public class SysConfigServiceImpl implements ISysConfigService, ConfigService {
|
|
|
}
|
|
|
row = baseMapper.updateById(config);
|
|
|
} else {
|
|
|
+ CacheUtils.evict(CacheNames.SYS_CONFIG, config.getConfigKey());
|
|
|
row = baseMapper.update(config, new LambdaQueryWrapper<SysConfig>()
|
|
|
.eq(SysConfig::getConfigKey, config.getConfigKey()));
|
|
|
}
|