| | |
| | | Date modiTime = wrkMast.getModiTime(); |
| | | stalistArr.add(new Long[]{staNo.longValue(), modiTime.getTime()}); |
| | | } |
| | | if (!stalistArr.isEmpty() && stalistArr.size()>1){ |
| | | if (!stalistArr.isEmpty()){ |
| | | // Collections.sort(stalistArr, (a, b) -> a[1] - b[1]); // 降序排列 |
| | | |
| | | Collections.sort(stalistArr, Comparator.comparingLong(arr -> arr[1])); |
| | | if (stalistArr.size()>1){ |
| | | Collections.sort(stalistArr, Comparator.comparingLong(arr -> arr[1])); |
| | | } |
| | | for (Long[] staNowArr : stalistArr){ |
| | | integersStaArr.add(staNowArr[0].intValue()); |
| | | } |