From a1e94379b115721b2e604070dc48063b8016f72f Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期二, 21 十月 2025 19:32:59 +0800
Subject: [PATCH] 侧面输送线出库码盘信息对接

---
 src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java
index d2dca63..aa8cb04 100644
--- a/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java
+++ b/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java
@@ -81,6 +81,9 @@
         taskWrk.setBarcode(param.getBarcode());//鏉$爜
         taskWrk.setCrnNo(locMast.getCrnNo());
         taskWrk.setType(param.getType());
+        taskWrk.setMp(param.getMp());
+        taskWrk.setLx(param.getLx());
+        taskWrk.setLev(param.getLev());
         if (param.getIoType() == 1) {
             taskWrk.setWrkSts(1);
             if (!Cools.isEmpty(param.getTargetPoint())) {
@@ -92,7 +95,11 @@
             taskWrk.setWrkSts(11);
 //            if (!Cools.isEmpty(param.getStartPoint())) {
             taskWrk.setStartPoint(param.getStartPoint());//璧风偣
-            taskWrk.setTargetPoint(String.valueOf(Integer.parseInt(param.getTargetPoint()) - 1));
+            if (Integer.parseInt(param.getTargetPoint()) == 211 || Integer.parseInt(param.getTargetPoint()) == 206 || Integer.parseInt(param.getTargetPoint()) == 202) {
+                taskWrk.setTargetPoint(String.valueOf(Integer.parseInt(param.getTargetPoint()) + 1));
+            } else {
+                taskWrk.setTargetPoint(String.valueOf(Integer.parseInt(param.getTargetPoint()) - 1));
+            }
 //            }
 //            taskWrk.setTargetPoint(param.getTargetPoint());
         } else if (param.getIoType() == 3) {

--
Gitblit v1.9.1