Commit d8366a31 by huangfusuper

处理只有子流的情况

parent f4889200
...@@ -77,6 +77,7 @@ public class WorkflowCommonParameterAggregation implements InstanceRunTheLifeCyc ...@@ -77,6 +77,7 @@ public class WorkflowCommonParameterAggregation implements InstanceRunTheLifeCyc
String thisRedisKeyData = stringRedisTemplate.opsForValue().get(redisKey); String thisRedisKeyData = stringRedisTemplate.opsForValue().get(redisKey);
FlowExtendedConfiguration flowExtendedConfiguration = JSON.parseObject(thisRedisKeyData, FlowExtendedConfiguration.class); FlowExtendedConfiguration flowExtendedConfiguration = JSON.parseObject(thisRedisKeyData, FlowExtendedConfiguration.class);
if(flowExtendedConfiguration != null) {
Map<String, String> thisRedisKeyMap = JSON.parseObject(flowExtendedConfiguration.getPublicParam(), Map.class); Map<String, String> thisRedisKeyMap = JSON.parseObject(flowExtendedConfiguration.getPublicParam(), Map.class);
if (CollectionUtil.isNotEmpty(thisRedisKeyMap)) { if (CollectionUtil.isNotEmpty(thisRedisKeyMap)) {
thisRedisKeyMap.forEach((key, value) -> { thisRedisKeyMap.forEach((key, value) -> {
...@@ -86,4 +87,6 @@ public class WorkflowCommonParameterAggregation implements InstanceRunTheLifeCyc ...@@ -86,4 +87,6 @@ public class WorkflowCommonParameterAggregation implements InstanceRunTheLifeCyc
}); });
} }
} }
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment