|
|
@ -108,6 +108,9 @@ public abstract class AbstractTask { |
|
|
|
.eq(SchBaseTaskconfig::getConfig_code, config_code)); |
|
|
|
taskDto.setPriority(taskConfig.getPriority()); |
|
|
|
taskDto.setTask_type(taskConfig.getTask_type()); |
|
|
|
if(taskDto.getNext_device_code().startsWith("DKT")){ |
|
|
|
taskDto.setTask_type(taskConfig.getAcs_task_type()); |
|
|
|
} |
|
|
|
taskDto.setRoute_plan_code(taskConfig.getRoute_plan_code()); |
|
|
|
return taskDto; |
|
|
|
} |
|
|
|