From 7752a45448ac81c603d6f9570b71d04284a98db9 Mon Sep 17 00:00:00 2001 From: zds <2388969634@qq.com> Date: Mon, 30 Sep 2024 14:27:31 +0800 Subject: [PATCH] =?UTF-8?q?opt:=E4=BF=AE=E6=94=B9=E5=8F=A0=E7=9B=98?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E5=AF=B9=E5=BA=94acs=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E4=B8=BA5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/org/nl/wms/sch/task_manage/AbstractTask.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/AbstractTask.java b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/AbstractTask.java index babab9f..ea13694 100644 --- a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/AbstractTask.java +++ b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/AbstractTask.java @@ -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; }