List<OrderImportDetailDTO> detailDTOs = orderImportRecord
.getOrderImportDetails()
.stream()
.sorted(Comparator.comparing(OrderImportDetailDTO::getOrderCreateTime))// 对订单的创建时间进行排序
.collect(Collectors.toList());
List<OrderImportDetailDTO> detailDTOs = orderImportRecord
.getOrderImportDetails()
.stream()
.sorted(Comparator.comparing(OrderImportDetailDTO::getOrderCreateTime))// 对订单的创建时间进行排序
.collect(Collectors.toList());