zy-acs-manager/src/main/java/com/zy/acs/manager/core/service/AllocateService.java
@@ -64,7 +64,6 @@ List<String> result = new ArrayList<>(); for (Agv agv : agvList) { if (!hasRunning) { // 1. without running tasks if (0 < taskService.count(new LambdaQueryWrapper<Task>() .eq(Task::getAgvId, agv.getId()) .and(i -> i @@ -75,11 +74,14 @@ )) { continue; } } // 2. in idle status if (!agvService.judgeEnable(agv.getId(), true)) { if (!agvService.judgeEnable(agv.getId(), true, true)) { continue; } } else { if (!agvService.judgeEnable(agv.getId(), true, false)) { continue; } } result.add(agv.getUuid()); }