Junjie
2023-06-16 087a7abb6cfd669c7253c823d83e05f6eba78753
src/main/java/com/zy/core/model/protocol/ShuttleProtocol.java
@@ -246,6 +246,9 @@
            // 电量
            try {
                Integer chargeLine = SpringUtils.getBean(BasShuttleService.class).selectById(this.shuttleNo).getChargeLine();
                if (chargeLine == null) {
                    return false;
                }
                return this.getBatteryPower$() > chargeLine;
            } catch (Exception e) {
                News.error("fail", e);