lucaxOrderEntities.stream()
// 进阶课
.filter(ir -> ir.getFlag() == 2)
// 退课
.filter(it -> !Objects.equals(it.getStatus(), OrderStatusEnum.REFUND.getCode()))
.collect(Collectors.toList()))
标签:REFUND,实体类,getFlag,stream,ir,filter,链式,写法
来源: https://www.cnblogs.com/kaibindirver/p/16189598.html