From b57652b53081c96fee423d607e198f00b4d26563 Mon Sep 17 00:00:00 2001
From: lsh <lsh@163.com>
Date: 星期三, 24 四月 2024 11:01:13 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java |   22 ++++++++++++++++++----
 1 files changed, 18 insertions(+), 4 deletions(-)

diff --git a/src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java
index 11d11fb..6112085 100644
--- a/src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java
+++ b/src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java
@@ -3344,6 +3344,14 @@
                 if (basDevp135.getReportSign()!=0){
                     continue;
                 }
+                BasDevp basDevp121 = basDevpService.selectById(121);
+                if (basDevp121.getReportSign()!=0){
+                    continue;
+                }
+                BasDevp basDevp120 = basDevpService.selectById(120);
+                if (basDevp120.getReportSign()!=0){
+                    continue;
+                }
                 WrkMast wrkMast131 = wrkMastMapper.selectWrkMastUnstackingOne202Two(131);
                 if (Cools.isEmpty(wrkMast131)){
                     continue;
@@ -4118,11 +4126,11 @@
                         }
                     }
                     if (rgvProtocol.getRgvNo()==1 && (rgvProtocol.getRgvPosI().equals(101) || rgvProtocol.getRgvPosI().equals(102) )){
-                        signRgv = false;
-                        break;
+                        signRgv1 = false;
+                        continue;
                     } else if (rgvProtocol.getRgvNo()==2 && (rgvProtocol.getRgvPosI().equals(116) || rgvProtocol.getRgvPosI().equals(117) ) ){
-                        signRgv = false;
-                        break;
+                        signRgv2 = false;
+                        continue;
                     }
                 }else {
                     signRgv = false;
@@ -4146,9 +4154,15 @@
                             && rgvProtocol.getStatusType1() == RgvStatusType.IDLE
                             && rgvProtocol.getStatusType2() == RgvStatusType.IDLE
                     ) {
+                        if (rgvProtocol.getRgvNo()==1 && (rgvProtocol.getRgvPosI().equals(101) || rgvProtocol.getRgvPosI().equals(102) )){
+                            continue;
+                        } else if (rgvProtocol.getRgvNo()==2 && (rgvProtocol.getRgvPosI().equals(116) || rgvProtocol.getRgvPosI().equals(117) ) ){
+                            continue;
+                        }
                         BasRgvMap basRgvMap = basRgvMapMapper.selectById(rgvProtocol.getRgvNo());
                         rgvAvoidanceXY(rgvProtocol.getRgvNo());
                         rgvMapUpdate(basRgvMap,basRgvMap.getStartRoute(),basRgvMap.getStartRoute());
+
                     }
                 }
             }

--
Gitblit v1.9.1