|
@@ -1164,7 +1164,7 @@ public class ProduceReportServiceImpl extends BaseServiceImpl<ProduceReportMappe
|
|
|
|
|
|
// 排序
|
|
|
if (!CollectionUtils.isEmpty(resultList)) {
|
|
|
- resultList = resultList.stream().sorted(Comparator.comparing(ProduceReportTianVO::getDate)).collect(Collectors.toList());
|
|
|
+ resultList = resultList.stream().sorted(Comparator.comparing(ProduceReportTianVO::getDate).reversed()).collect(Collectors.toList());
|
|
|
}
|
|
|
return resultList;
|
|
|
}
|
|
@@ -1291,7 +1291,7 @@ public class ProduceReportServiceImpl extends BaseServiceImpl<ProduceReportMappe
|
|
|
|
|
|
// 排序
|
|
|
if (!CollectionUtils.isEmpty(resultList)) {
|
|
|
- resultList = resultList.stream().sorted(Comparator.comparing(ProduceReportTianVO::getDate)).collect(Collectors.toList());
|
|
|
+ resultList = resultList.stream().sorted(Comparator.comparing(ProduceReportTianVO::getDate).reversed()).collect(Collectors.toList());
|
|
|
}
|
|
|
return resultList;
|
|
|
}
|