From 44fad1e8fdda2125c0923ee122788ed779bb0199 Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期五, 11 七月 2025 10:03:07 +0800
Subject: [PATCH] 1

---
 src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java |   16 +++++++++-------
 1 files changed, 9 insertions(+), 7 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 531b742..8e0d452 100644
--- a/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java
+++ b/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java
@@ -92,7 +92,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) {
@@ -138,12 +142,10 @@
         } else {
             staProtocol1 = staProtocol1.clone();
         }
-        if (staProtocol1.isLoading()) {
-            return R.error(staProtocol.getSiteId() + "绔欑偣鏈夌墿!");
-        }
-        if (staProtocol.isLoading()) {
-            return R.error(staProtocol.getSiteId() + "绔欑偣鏈夌墿!");
-        }
+//        if (staProtocol1.isLoading()) {
+//            return R.error(staProtocol1.getSiteId() + "绔欑偣鏈夌墿!");
+//        }
+
         if (!staProtocol.isAutoing()) {
             return R.error(staProtocol.getSiteId() + "绔欑偣fei鑷姩");
         }

--
Gitblit v1.9.1