From e4bc771479c2ec776099a42e4c2177f3c95e1f5f Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期二, 18 六月 2024 16:58:07 +0800
Subject: [PATCH] #

---
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/thread/impl/SurayLiftThread.java |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/thread/impl/SurayLiftThread.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/thread/impl/SurayLiftThread.java
index 78b8351..9350666 100644
--- a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/thread/impl/SurayLiftThread.java
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/thread/impl/SurayLiftThread.java
@@ -2,6 +2,7 @@
 
 import com.alibaba.fastjson.JSON;
 import com.alibaba.fastjson.JSONObject;
+import com.alibaba.fastjson.serializer.SerializerFeature;
 import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
 import com.zy.asrs.common.utils.HttpHandler;
 import com.zy.asrs.framework.common.DateUtils;
@@ -105,7 +106,7 @@
 
 
                 //************琛ュ厖鎵╁睍瀛楁*************
-                InnerLiftExtend liftExtend = JSON.parseObject(JSON.toJSONString(liftProtocol.getExtend()), InnerLiftExtend.class);
+                InnerLiftExtend liftExtend = (InnerLiftExtend) liftProtocol.getExtend();
                 liftExtend.setLock(data.getInteger("lockStatus") == 1 ? true : false);
                 liftProtocol.setExtend(liftExtend);
 
@@ -447,6 +448,8 @@
         body.put("taskId", taskNo);
         body.put("startLayer", 0);
         body.put("endLayer", targetLev);
+        body.put("startLocation", 0);
+        body.put("endLocation", 0);
         body.put("model", taskMode);
 
         LiftCommand command = new LiftCommand();
@@ -468,6 +471,8 @@
         body.put("taskId", taskNo);
         body.put("startLayer", sourceLev);
         body.put("endLayer", targetLev);
+        body.put("startLocation", 0);
+        body.put("endLocation", 0);
         body.put("model", 2);//杞借溅绉诲姩
 
         LiftCommand command = new LiftCommand();

--
Gitblit v1.9.1