Commit c8e6f6a6 by huangfusuper

关闭实例错误码判断失败BUG

parent 46cdfaf3
......@@ -94,7 +94,11 @@ public class ClosingExampleThreadRunHelper extends BaseThreadRunHelper implement
if (StringUtils.isNotEmpty(jobTaskRunLog.getRunCode())) {
if(!(NodeRunStatusPropertyEnum.RUN_SUCCESS.getCode().equals(jobTaskRunLog.getRunCode())
|| NodeRunStatusPropertyEnum.RE_RUN_SUCCESS.getCode().equals(jobTaskRunLog.getRunCode()))){
return jobTaskRunLog.getRunCode();
String runCode = jobTaskRunLog.getRunCode();
if (NodeRunStatusPropertyEnum.PARENT_NODE_FAILED.getCode().equals(runCode)) {
runCode = NodeRunStatusPropertyEnum.RUN_FAILURE.getCode();
}
return runCode;
}
}else{
throw new BusinessException(JobResultEnum.RUN_MSG_FAIL);
......
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