java8的flatmap
List<String> resultList = wmPoiLogisticsSubmitRequestDTOList.stream()
.flatMap(wmPoiLogisticsSubmitRequestDTOTemp -> wmPoiLogisticsSubmitRequestDTOTemp.getLogisticsList().stream())
.filter(wmPoiLogisticsDTO -> "333333".equals(wmPoiLogisticsDTO.getLogisticsCode()) || "111111".equals(wmPoiLogisticsDTO.getLogisticsCode()) )
.map(wmPoiLogisticsDTO -> wmPoiLogisticsDTO.getName() )
.collect(Collectors.toList());