Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
byit-myth-job
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liyuan
byit-myth-job
Commits
d8366a31
Commit
d8366a31
authored
Dec 15, 2020
by
huangfusuper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理只有子流的情况
parent
f4889200
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
WorkflowCommonParameterAggregation.java
...trategy/instances/WorkflowCommonParameterAggregation.java
+10
-7
No files found.
byit-myth-core/myth-admin-core/src/main/java/com/byit/strategy/instances/WorkflowCommonParameterAggregation.java
View file @
d8366a31
...
@@ -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
);
});
}
});
}
}
}
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment