获取dtos集合中total=500.00的salesman的集合。List<String> collect = dtos.stream().filter(d -> d.getTotal().equals("500.00")).map(ReportDTO::getSalesman).collect(Collectors.toList());