list根据对象属性去重
ArrayList < PayRecord > importListSingle = importList.stream().collect(collectingAndThen(toCollection(
() -> new TreeSet <>(Comparator.comparing(PayRecord :: getPrIdentityNumber)
.thenComparing(PayRecord :: getPrPayType))) , ArrayList :: new));
nnjk