mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2025-09-06 04:18:07 +00:00
update 优化 使用 StreamUtils 简化业务流操纵
This commit is contained in:
@@ -127,7 +127,7 @@ public class SysOssConfigServiceImpl implements ISysOssConfigService {
|
||||
}
|
||||
boolean flag = baseMapper.deleteBatchIds(ids) > 0;
|
||||
if (flag) {
|
||||
list.stream().forEach(sysOssConfig -> {
|
||||
list.forEach(sysOssConfig -> {
|
||||
RedisUtils.deleteObject(getCacheKey(sysOssConfig.getConfigKey()));
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user