From 22d9e3993320d8cfbe38dc225759089c6a11fe40 Mon Sep 17 00:00:00 2001 From: "USER-20220102CG\\noblelift" <546428999@qq.com> Date: Sun, 23 Apr 2023 18:46:40 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/org/nl/acs/ext/wms/data/CreateTaskRequest.java | 2 +- .../org/nl/acs/ext/wms/service/impl/WmsToAcsServiceImpl.java | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/acs/nladmin-system/src/main/java/org/nl/acs/ext/wms/data/CreateTaskRequest.java b/acs/nladmin-system/src/main/java/org/nl/acs/ext/wms/data/CreateTaskRequest.java index 039678d..8539fa6 100644 --- a/acs/nladmin-system/src/main/java/org/nl/acs/ext/wms/data/CreateTaskRequest.java +++ b/acs/nladmin-system/src/main/java/org/nl/acs/ext/wms/data/CreateTaskRequest.java @@ -66,7 +66,7 @@ public class CreateTaskRequest extends BaseRequest { /** * 扩展属性 */ - Map params = new HashMap<>(); + Map params = new HashMap<>(); @Override public String toString() { diff --git a/acs/nladmin-system/src/main/java/org/nl/acs/ext/wms/service/impl/WmsToAcsServiceImpl.java b/acs/nladmin-system/src/main/java/org/nl/acs/ext/wms/service/impl/WmsToAcsServiceImpl.java index 9e518a1..23b1bb6 100644 --- a/acs/nladmin-system/src/main/java/org/nl/acs/ext/wms/service/impl/WmsToAcsServiceImpl.java +++ b/acs/nladmin-system/src/main/java/org/nl/acs/ext/wms/service/impl/WmsToAcsServiceImpl.java @@ -473,7 +473,7 @@ public class WmsToAcsServiceImpl implements WmsToAcsService { String vehicle_type = req.getVehicle_type(); String task_type = req.getTask_type(); String remark = req.getRemark(); - Map params = req.getParams(); +// Map params = req.getParams(); String start_height = StrUtil.isBlank(req.getStart_height()) ? "0" : req.getStart_height(); String next_height = StrUtil.isBlank(req.getNext_height()) ? "0" : req.getNext_height(); @@ -575,7 +575,6 @@ public class WmsToAcsServiceImpl implements WmsToAcsService { jo.put("vehicle_type", vehicle_type); jo.put("agv_system_type", "1"); jo.put("remark", remark); - jo.put("params", params); jo.put("task_type", StrUtil.isEmpty(task_type) ? 1 : Integer.parseInt(task_type)); jo.put("start_height", start_height); jo.put("next_height", next_height);