zy-acs-manager/src/main/java/com/zy/acs/manager/manager/service/impl/AgvServiceImpl.java
@@ -113,11 +113,7 @@ } // with battery if (withBattery) { if (agvDetail.getVol() < agv.getChargeLine()) { log.warn("[{}]号Agv电量不足......", agv.getUuid()); return false; } if (agvDetail.getVol() < agvModel.getLowBattery()) { if (agvDetailService.isPowerLoss(agv, agvDetail, agvModel)) { log.warn("[{}]号Agv电量不足......", agv.getUuid()); return false; } @@ -169,6 +165,9 @@ if (null == agvDetail) { continue; } if (null == agvDetail.getRecentCode()) { continue; } if (agvDetail.getRecentCode().equals(codeId)) { return agv; }