From d82c76852eb119a2d9555bd0fd390a202564212d Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期六, 02 十二月 2023 16:19:21 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java |   10 ++++------
 1 files changed, 4 insertions(+), 6 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 2598f0f..40645e0 100644
--- a/src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java
+++ b/src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java
@@ -3024,12 +3024,10 @@
                 wrapper.eq("code", "shuttleMaxPowerVerify");
                 Config config1 = configService.selectOne(wrapper1);
                 if (config1 != null) {
-                    if (!Boolean.parseBoolean(config1.getValue())) {
-                        continue;//娌℃湁寮�鍚弧鍏呮牎鍑�
-                    }
-
-                    if (shuttleProtocol.getVoltage() < 5630) {
-                        continue;//鐢靛帇涓嶅缁х画鍏呯數
+                    if (config1.getValue().equals("true")) {
+                        if (shuttleProtocol.getVoltage() < 5630) {
+                            continue;//鐢靛帇涓嶅缁х画鍏呯數
+                        }
                     }
                 }
                 //***************鍒ゆ柇鏄惁婊″厖鏍″噯***************

--
Gitblit v1.9.1