list<T>去重
根据hashset去重
List<String> collect = workOrderBOList.stream().map(WorkOrderBO::getDistributionId).collect(Collectors.toList());
HashSet<String> collectSet = new HashSet<>();
//去重
collect.forEach(x->collectSet.add(x));