摘要: purList = purList.stream().collect(Collectors.collectingAndThen(Collectors.toCollection(() -> new TreeSet<>(Comparator.comparing(priceVO :: getLineId) 阅读全文
posted @ 2021-05-24 16:01 哎丫丫呀喂 阅读(28) 评论(0) 推荐(0) 编辑
摘要: purList = purList.stream().sorted(Comparator.comparing(priceVO::getItemId).thenComparing(priceVO::getItemVersionNum,Comparator.nullsLast(String::compa 阅读全文
posted @ 2021-05-24 15:31 哎丫丫呀喂 阅读(440) 评论(0) 推荐(0) 编辑