[Fix-7753][Master] Failed to pass global parameters between parent and sub process (#7755)

* fix bug_7753

* fix bug_7753

* fix bug_7753

Co-authored-by: SbloodyS <sbloodys@qq.com>
This commit is contained in:
xiangzihao 2022-01-01 15:23:50 +08:00 committed by GitHub
parent 4203304b08
commit fa906e7d01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -1062,7 +1062,8 @@ public class ProcessService {
List<Property> parentPropertyList = JSONUtils.toList(parentGlobalParams, Property.class);
List<Property> subPropertyList = JSONUtils.toList(subGlobalParams, Property.class);
subPropertyList = new ArrayList<>(subPropertyList);
Map<String, String> subMap = subPropertyList.stream().collect(Collectors.toMap(Property::getProp, Property::getValue));
for (Property parent : parentPropertyList) {