subProjectLinkPOS=subProjectLinkPOS.stream().collect(Collectors.collectingAndThen(Collectors.toCollection(() -> new TreeSet<>(Comparator.comparing(SubProjectLinkPO::getJlxmbCode))), ArrayList::new));
根据属性去重
阅读 157
2022-02-28
subProjectLinkPOS=subProjectLinkPOS.stream().collect(Collectors.collectingAndThen(Collectors.toCollection(() -> new TreeSet<>(Comparator.comparing(SubProjectLinkPO::getJlxmbCode))), ArrayList::new));
相关推荐
精彩评论(0)