Java8的Stream流的一些用法,
//排序
carerVehEntityList = carerVehEntityList.stream().sorted(
Comparator.comparing(CarerVehInOrOutEntity::getDelintSortNum, Comparator.nullsFirst(Integer::compareTo))
.thenComparing(CarerVehInOrOutEntity::getDelintName, Comparator.nullsFirst(String::compareTo))
.thenComparing(CarerVehInOrOutEntity::getLadingSn, Comparator.nullsFirst(String::compareTo))
.thenComparing(CarerVehInOrOutEntity::getProductSortNum, Comparator.nullsFirst(Integer::compareTo))
.thenComparing(CarerVehInOrOutEntity::getProductName, Comparator.nullsFirst(String::compareTo))
.thenComparing(CarerVehInOrOutEntity::getProductGradeSortNum, Comparator.nullsFirst(Integer::compareTo))
.thenComparing(CarerVehInOrOutEntity::getProductGradeName, Comparator.nullsFirst(String::compareTo))
.thenComparing(CarerVehInOrOutEntity::getLadingId, Comparator.nullsFirst(Long::compareT