|
|
@@ -720,7 +720,7 @@ if(detail.getOrderNum()>nnn)
|
|
720
|
720
|
List<Integer> rkslindex = new ArrayList<>();
|
|
721
|
721
|
Map<Integer, String> rk = new HashMap<>();
|
|
722
|
722
|
Integer needindex = 0;
|
|
723
|
|
-
|
|
|
723
|
+ Integer maxmonth=0;
|
|
724
|
724
|
//遍历传过来的数据集合
|
|
725
|
725
|
for (var item : list) {
|
|
726
|
726
|
//每一行
|
|
|
@@ -751,8 +751,9 @@ if(detail.getOrderNum()>nnn)
|
|
751
|
751
|
if (er.getValue().replace("\n","").contains("入库数量")) {
|
|
752
|
752
|
String[] strings = er.getValue().split("月");
|
|
753
|
753
|
Integer converint = Integer.parseInt(strings[0]);
|
|
754
|
|
- if (converint > needindex) {
|
|
755
|
|
- needindex = converint;
|
|
|
754
|
+ if (converint > maxmonth) {
|
|
|
755
|
+ maxmonth = converint;
|
|
|
756
|
+ needindex=er.getKey();
|
|
756
|
757
|
}
|
|
757
|
758
|
}
|
|
758
|
759
|
}
|