diff --git a/cweb/src/main/java/com/hfkj/controller/order/BsOrderController.java b/cweb/src/main/java/com/hfkj/controller/order/BsOrderController.java index 63dfea1..d96990f 100644 --- a/cweb/src/main/java/com/hfkj/controller/order/BsOrderController.java +++ b/cweb/src/main/java/com/hfkj/controller/order/BsOrderController.java @@ -120,9 +120,11 @@ public class BsOrderController { List list = orderService.getOrderList(new HashMap<>()); + list = list.stream().filter(s->s.getUserId() != null).collect(Collectors.toList()); // 查询个人订单 List orderUserList = list.stream().filter(s-> s.getUserId() != null).filter(s->s.getUserId().equals(session.getUser().getId())).collect(Collectors.toList()); + //查询团队 // 查询团队用户 Map param = new HashMap<>();