Commit 776a915e by huangfusuper

依赖节点设置首节点不设置

parent d78598ea
...@@ -54,10 +54,11 @@ public class NodeVerificationImpl implements NodeVerification { ...@@ -54,10 +54,11 @@ public class NodeVerificationImpl implements NodeVerification {
@Override @Override
public boolean superiorNodeStatus(JobTask thisJobTask) { public boolean superiorNodeStatus(JobTask thisJobTask) {
//获取该节点的运行标识 //获取该节点的运行标识
//TODO 这里有个问题,就是第一个节点是寻找他的重跑主工作流里面依赖的节点 但是除了第一个 都是找本节点的功能项
String runId = thisJobTask.getRunId(); String runId = thisJobTask.getRunId();
if(ScheduleTypeEnum.REPEAT.getCode().equals(thisJobTask.getScheduleType())) { // if(ScheduleTypeEnum.REPEAT.getCode().equals(thisJobTask.getScheduleType())) {
runId = thisJobTask.getReRunId(); // runId = thisJobTask.getReRunId();
} // }
//查询该节点的依赖节点 //查询该节点的依赖节点
String nodeDepend = thisJobTask.getNodeDepend(); String nodeDepend = thisJobTask.getNodeDepend();
......
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