1.单个属性过滤
registNoList= registNoList.stream().distinct().collect(Collectors.toList());//去重报案号
2.多个字段属性过滤
rc_ytwEndCaseVo = rc_ytwEndCaseVo.stream() .collect( Collectors.collectingAndThen(Collectors.toCollection(() -> new TreeSet<>(Comparator.comparing(YtwEndCaseVo -> YtwEndCaseVo.getRecasetimes()+";"+YtwEndCaseVo.getIcHeadCode()))), ArrayList::new));