From 00b1a9500b27aee2a358449776eb6592bfc9e6b5 Mon Sep 17 00:00:00 2001 From: zds <2388969634@qq.com> Date: Thu, 22 Aug 2024 11:14:29 +0800 Subject: [PATCH] =?UTF-8?q?opt:=E4=BC=98=E5=8C=96=20=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E5=88=9B=E5=BB=BA=E6=A8=A1=E5=BC=8F=20=E7=9B=B8=E5=85=B3?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E5=92=8C=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ext/service/impl/AcsToWmsServiceImpl.java | 4 +- .../nl/wms/sch/task_manage/AbstractTask.java | 2 +- .../service/impl/WorkorderServiceImpl.java | 2 + .../src/views/wms/sch/task/index.vue | 168 +----------------- 4 files changed, 15 insertions(+), 161 deletions(-) diff --git a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/ext/service/impl/AcsToWmsServiceImpl.java b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/ext/service/impl/AcsToWmsServiceImpl.java index 3cbe373..506b738 100644 --- a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/ext/service/impl/AcsToWmsServiceImpl.java +++ b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/ext/service/impl/AcsToWmsServiceImpl.java @@ -125,7 +125,9 @@ public class AcsToWmsServiceImpl implements AcsToWmsService { param.put("user_id",currentUserId); param.put("person_name",nickName); } - param.put("create_mode","3"); + if(ObjectUtil.isEmpty(param.getString("create_mode"))){ + param.put("create_mode","3"); + } try { result = this.apply(param); } catch (Exception e) { 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 245de3d..335fbb5 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 @@ -79,7 +79,7 @@ public abstract class AbstractTask { AcsTaskDto taskDto = new AcsTaskDto(); taskDto.setTask_id(task.getTask_id()); taskDto.setTask_code(task.getTask_code()); - + //taskDto.setPriority("1"); taskDto.setRoute_plan_code("normal"); taskDto.setStart_device_code(task.getPoint_code1()); taskDto.setNext_device_code(task.getPoint_code2()); diff --git a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/workorder/service/impl/WorkorderServiceImpl.java b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/workorder/service/impl/WorkorderServiceImpl.java index 46ccf38..efbdf9c 100644 --- a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/workorder/service/impl/WorkorderServiceImpl.java +++ b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/workorder/service/impl/WorkorderServiceImpl.java @@ -162,6 +162,7 @@ public class WorkorderServiceImpl extends ServiceImpl - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - + + - @@ -250,47 +131,17 @@