src/main/java/com/zy/asrs/utils/SortTheExecutionOfTheCarUtil.java
@@ -91,14 +91,14 @@ Integer integer = LatelyAndLessThan(devpPosition, nowPosition,perimeter); for (BasDevpPosition basDevpPosition:devpPosition){ if (basDevpPosition.getDevNo().equals(integer)){ if (basDevpPosition.getDevNo() == 133){ if (basDevpPosition.getDevNo() == 134){ result = 101; } break; } result = basDevpPosition.getDevNo(); } return result; return result == -1? 101 : result; } // //获取最近并在当前位置前边的位置 // public static Long LatelyAndLessThan(long[] devpPosition,long nowPosition){