rev:查询最小巷道倒序
This commit is contained in:
@@ -645,7 +645,7 @@ public class InBoxManageServiceImpl implements InBoxManageService {
|
||||
|
||||
// 最小木箱数的巷道
|
||||
List<JSONObject> boxNumList = blockBoxList.stream()
|
||||
.sorted(Comparator.comparing(row -> row.getString("box_num")))
|
||||
.sorted(Comparator.comparing(row -> row.getIntValue("box_num")))
|
||||
.collect(Collectors.toList());
|
||||
|
||||
return boxNumList.get(0).getString("block_num");
|
||||
@@ -709,7 +709,7 @@ public class InBoxManageServiceImpl implements InBoxManageService {
|
||||
|
||||
// 最小木箱数的排
|
||||
List<JSONObject> boxNumList = rowkBoxList.stream()
|
||||
.sorted(Comparator.comparing(row -> row.getString("box_num")))
|
||||
.sorted(Comparator.comparing(row -> row.getIntValue("box_num")))
|
||||
.collect(Collectors.toList());
|
||||
|
||||
String row_num = "";
|
||||
|
||||
@@ -500,7 +500,7 @@ public class InBussManageServiceImpl implements InBussManageService {
|
||||
|
||||
// 最小木箱数的巷道
|
||||
List<JSONObject> boxNumList = blockBoxList.stream()
|
||||
.sorted(Comparator.comparing(row -> row.getString("box_num")))
|
||||
.sorted(Comparator.comparing(row -> row.getIntValue("box_num")))
|
||||
.collect(Collectors.toList());
|
||||
|
||||
return boxNumList.get(0);
|
||||
@@ -603,7 +603,7 @@ public class InBussManageServiceImpl implements InBussManageService {
|
||||
|
||||
// 最小木箱数的排
|
||||
List<JSONObject> boxNumList = rowkBoxList.stream()
|
||||
.sorted(Comparator.comparing(row -> row.getString("box_num")))
|
||||
.sorted(Comparator.comparing(row -> row.getIntValue("box_num")))
|
||||
.collect(Collectors.toList());
|
||||
|
||||
return boxNumList.get(0);
|
||||
|
||||
@@ -273,7 +273,7 @@ public class InVehicleManageServiceImpl implements InVehicleManageService {
|
||||
|
||||
// 最小托盘数的巷道
|
||||
List<JSONObject> boxNumList = blockBoxList.stream()
|
||||
.sorted(Comparator.comparing(row -> row.getString("box_num")))
|
||||
.sorted(Comparator.comparing(row -> row.getIntValue("box_num")))
|
||||
.collect(Collectors.toList());
|
||||
|
||||
return boxNumList.get(0).getString("block_num");
|
||||
@@ -333,7 +333,7 @@ public class InVehicleManageServiceImpl implements InVehicleManageService {
|
||||
|
||||
// 最小木箱数的排
|
||||
List<JSONObject> boxNumList = rowkBoxList.stream()
|
||||
.sorted(Comparator.comparing(row -> row.getString("box_num")))
|
||||
.sorted(Comparator.comparing(row -> row.getIntValue("box_num")))
|
||||
.collect(Collectors.toList());
|
||||
|
||||
String row_num = "";
|
||||
|
||||
@@ -345,7 +345,7 @@ public class OutBoxManageServiceImpl implements OutBoxManageService {
|
||||
|
||||
// 最大木箱数的巷道
|
||||
List<JSONObject> boxNumList = blockBoxList.stream()
|
||||
.sorted(Comparator.comparing(row -> row.getString("box_num")))
|
||||
.sorted(Comparator.comparing(row -> row.getIntValue("box_num")))
|
||||
.collect(Collectors.toList());
|
||||
|
||||
String block_num = "";
|
||||
@@ -406,7 +406,7 @@ public class OutBoxManageServiceImpl implements OutBoxManageService {
|
||||
|
||||
// 最大木箱数的排
|
||||
List<JSONObject> boxNumList = blockBoxList.stream()
|
||||
.sorted(Comparator.comparing(row -> row.getString("box_num")))
|
||||
.sorted(Comparator.comparing(row -> row.getIntValue("box_num")))
|
||||
.collect(Collectors.toList());
|
||||
|
||||
String row_num = "";
|
||||
|
||||
@@ -358,7 +358,7 @@ public class OutVehicleManageServiceImpl implements OutVehicleManageService {
|
||||
|
||||
// 最大托盘数的巷道
|
||||
List<JSONObject> boxNumList = blockVehicleList.stream()
|
||||
.sorted(Comparator.comparing(row -> row.getString("vehicle_num")))
|
||||
.sorted(Comparator.comparing(row -> row.getIntValue("vehicle_num")))
|
||||
.collect(Collectors.toList());
|
||||
|
||||
String block_num = "";
|
||||
@@ -417,7 +417,7 @@ public class OutVehicleManageServiceImpl implements OutVehicleManageService {
|
||||
|
||||
// 最大托盘数的排
|
||||
List<JSONObject> boxNumList = blockVehicleList.stream()
|
||||
.sorted(Comparator.comparing(row -> row.getString("vehicle_num")))
|
||||
.sorted(Comparator.comparing(row -> row.getIntValue("vehicle_num")))
|
||||
.collect(Collectors.toList());
|
||||
|
||||
String row_num = "";
|
||||
|
||||
Reference in New Issue
Block a user