src/main/java/com/zy/common/service/AgvCommonService.java
@@ -238,7 +238,10 @@ Boolean orderBy = false; int levCount = 0; int times = 1; if (floor == 1) { if (floor == 1 || floor >= 4) { if (floor >= 4 ) { floor = 1; } orderBy = true; levCount = 2; } else { @@ -253,7 +256,11 @@ if (isEmpty) { wrapper.eq("floor", floor).eq("lev1",1); } else { wrapper.eq("floor", floor).orderBy("lev1",!orderBy); if (isCurrLev) { wrapper.eq("floor", floor).eq("lev1",1); } else { wrapper.eq("floor", floor).orderBy("lev1",!orderBy); } }