Commit 7b8cecf2 authored by Smile's avatar Smile

官网首页查询订单信息倒序排序

parent a2ca58ab
......@@ -254,7 +254,7 @@ public class OrderTimeServiceImpl extends AbstractService<OrderTimeMapper, Order
backList.add(enList.get(0));
}
}
backList = backList.stream().filter(t -> t.getStatus() != 15 && t.getStatus() != 150330).sorted(Comparator.comparing(OrderTimeDO::getId)).collect(Collectors.toList());
backList = backList.stream().filter(t -> t.getStatus() != 15 && t.getStatus() != 150330).sorted(Comparator.comparing(OrderTimeDO::getId).reversed()).collect(Collectors.toList());
return OrderTimeConvert.INSTANCE.convertList(backList);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment