mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 04:02:09 +08:00
Refactor:ID20BW Redisson优化获取数据获取
This commit is contained in:
@@ -41,10 +41,9 @@ public class RClient {
|
||||
Set<String> mapFieldSet = mapCache.keySet();
|
||||
if (CollectionUtil.isEmpty(mapFieldSet)) {
|
||||
return map;
|
||||
}
|
||||
for (String field : mapFieldSet) {
|
||||
String value = mapCache.get(field);
|
||||
map.put(field, value);
|
||||
} else {
|
||||
Map<String, String> readAllMap = mapCache.readAllMap();
|
||||
map.putAll(readAllMap);
|
||||
}
|
||||
return map;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user