Commit 3bbfb1c0 by huangfusuper

java -jar的命令参数处理

parent bb8dc435
......@@ -125,7 +125,7 @@ public class ScriptFlowParamMergeTaskRunTheLifeCycleCallback implements TaskRunT
throw new RuntimeException(String.format("调度暂不支持此种类型的任务:%s", jobType));
}
boolean equals = typeByCode.getType().equals(SCRIPT);
boolean isPlugin = 4 != jobTaskSchedule.getScheduleType();
boolean isPlugin = jobTaskSchedule.getScheduleType() != null && 4 != jobTaskSchedule.getScheduleType();
return equals && isPlugin;
}
}
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