未验证 提交 57a37574 编写于 作者: B BaoLiang 提交者: GitHub

Merge pull request #55 from insist777/ws-3.0.0

[Improvement] Dependent tasks support dependent policies
......@@ -477,9 +477,7 @@ public class TaskInstance implements Serializable {
Map<String, Object> taskParamsMap = JSONUtils.parseObject(this.getTaskParams(), new TypeReference<Map<String, Object>>() {
});
this.dependency = JSONUtils.parseObject((String) taskParamsMap.get(Constants.DEPENDENCE), DependentParameters.class);
Map<String, Object> otherParamsMap = JSONUtils.parseObject((String) taskParamsMap.get(Constants.OTHER_PARAMS), new TypeReference<Map<String, Object>>() {
});
this.dependency.setOtherParams(otherParamsMap);
this.dependency.setOtherParams((Map<String, Object>) taskParamsMap.get(Constants.OTHER_PARAMS));
}
return this.dependency;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册