Commit c03c6b2b by huangfusuper

处理只有子流的情况

parent 84434851
...@@ -73,9 +73,9 @@ public class ScriptExecutorJobTask implements TimerTask { ...@@ -73,9 +73,9 @@ public class ScriptExecutorJobTask implements TimerTask {
String priority = mythJobTaskSchedule.getPriority(); String priority = mythJobTaskSchedule.getPriority();
if (NodePropertyEnum.ADVANCED_NODE.getCode().equals(priority)) { if (NodePropertyEnum.ADVANCED_NODE.getCode().equals(priority)) {
MythJobAutoConfigure.ADVANCED_JOB_THREAD_POOL.execute(() -> runJob(mythJobTaskSchedule)); MythJobAutoConfigure.ADVANCED_JOB_THREAD_POOL.execute(() -> runJob());
} else { } else {
MythJobAutoConfigure.LOW_LEVEL_JOB_THREAD_POOL.execute(() -> runJob(mythJobTaskSchedule)); MythJobAutoConfigure.LOW_LEVEL_JOB_THREAD_POOL.execute(() -> runJob());
} }
} }
...@@ -95,9 +95,8 @@ public class ScriptExecutorJobTask implements TimerTask { ...@@ -95,9 +95,8 @@ public class ScriptExecutorJobTask implements TimerTask {
/** /**
* 运行任务 * 运行任务
* *
* @param mythJobTaskSchedule 运行的排期表
*/ */
private void runJob(JobTaskSchedule mythJobTaskSchedule) { private void runJob() {
DispatchResponseDto dispatchResponseDto = new DispatchResponseDto(); DispatchResponseDto dispatchResponseDto = new DispatchResponseDto();
String uploadFilePath = null; String uploadFilePath = null;
try { try {
......
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