Commit d8366a31 by huangfusuper

处理只有子流的情况

parent f4889200
...@@ -77,13 +77,16 @@ public class WorkflowCommonParameterAggregation implements InstanceRunTheLifeCyc ...@@ -77,13 +77,16 @@ 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);
Map<String, String> thisRedisKeyMap = JSON.parseObject(flowExtendedConfiguration.getPublicParam(), Map.class); if(flowExtendedConfiguration != null) {
if (CollectionUtil.isNotEmpty(thisRedisKeyMap)) { Map<String, String> thisRedisKeyMap = JSON.parseObject(flowExtendedConfiguration.getPublicParam(), Map.class);
thisRedisKeyMap.forEach((key, value) -> { if (CollectionUtil.isNotEmpty(thisRedisKeyMap)) {
if (!publicParam.containsKey(key)) { thisRedisKeyMap.forEach((key, value) -> {
publicParam.put(key, value); if (!publicParam.containsKey(key)) {
} publicParam.put(key, value);
}); }
});
}
} }
} }
} }
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