From 702c828af09cb09bc6aeef06c0ce57d9c84b3e9f Mon Sep 17 00:00:00 2001
From: lsh <lsh@163.com>
Date: 星期四, 04 九月 2025 09:36:12 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java |    7 ++++---
 1 files changed, 4 insertions(+), 3 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 7fb7b84..09a560a 100644
--- a/src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java
+++ b/src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java
@@ -84,9 +84,9 @@
     * */
     public synchronized boolean licenseVerify() {
         try{
-//            if (true) {
-//                return true;
-//            }
+            if (true) {
+                return true;
+            }
             return new LicenseVerify().verify();
         } catch (Exception e){
             log.info("璁稿彲璇侀獙璇佸け璐ワ紒锛佸紓甯革細{}",e.getMessage());
@@ -374,6 +374,7 @@
                                     && rgvProtocol.modeType == RgvModeType.AUTO
                                     && (rgvProtocol.getStatusType() == RgvStatusType.IDLE || rgvProtocol.getStatusType() == RgvStatusType.ROAM)
                                     && rgvProtocol.getTaskNo1() == 0
+                                    && rgvProtocol.getRgvPosInt() != 0
                                     && rgvProtocol.getAlarm() == 0) {
                                 BasDevpPosition basDevpPosition = basDevpPositionService.selectOne(new EntityWrapper<BasDevpPosition>().eq("dev_no", wrkMast.getSourceStaNo()));
                                 if (basDevpPosition.getPlcPosition()>rgvProtocol.getRgvPos()){

--
Gitblit v1.9.1