Commit a0a90729 by huangfusuper

脚本类数据

parent 0a7eea16
...@@ -121,6 +121,8 @@ public class ScriptParamMergeTaskRunTheLifeCycleCallback implements TaskRunTheLi ...@@ -121,6 +121,8 @@ public class ScriptParamMergeTaskRunTheLifeCycleCallback implements TaskRunTheLi
if (typeByCode == null) { if (typeByCode == null) {
throw new RuntimeException(String.format("调度暂不支持此种类型的任务:%s", jobType)); throw new RuntimeException(String.format("调度暂不支持此种类型的任务:%s", jobType));
} }
return typeByCode.getType().equals(SCRIPT); boolean equals = typeByCode.getType().equals(SCRIPT);
boolean isPlugin = !(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