From fefdea4cc27cdd53ec64bded27ac29887c810469 Mon Sep 17 00:00:00 2001 From: jay li Date: Wed, 15 Oct 2025 14:22:31 +0800 Subject: [PATCH] =?UTF-8?q?Refactor=EF=BC=9AID20BW=20Redisson=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E8=8E=B7=E5=8F=96=E6=95=B0=E6=8D=AE=E8=8E=B7=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/yomahub/liteflow/parser/redis/mode/RClient.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/liteflow-rule-plugin/liteflow-rule-redis/src/main/java/com/yomahub/liteflow/parser/redis/mode/RClient.java b/liteflow-rule-plugin/liteflow-rule-redis/src/main/java/com/yomahub/liteflow/parser/redis/mode/RClient.java index 7b9e06f23..e07613df1 100644 --- a/liteflow-rule-plugin/liteflow-rule-redis/src/main/java/com/yomahub/liteflow/parser/redis/mode/RClient.java +++ b/liteflow-rule-plugin/liteflow-rule-redis/src/main/java/com/yomahub/liteflow/parser/redis/mode/RClient.java @@ -41,10 +41,9 @@ public class RClient { Set mapFieldSet = mapCache.keySet(); if (CollectionUtil.isEmpty(mapFieldSet)) { return map; - } - for (String field : mapFieldSet) { - String value = mapCache.get(field); - map.put(field, value); + } else { + Map readAllMap = mapCache.readAllMap(); + map.putAll(readAllMap); } return map; }