//list去重 public static List<Integer> delRepeat(List<Integer> personAccountList) { List<Integer> myList = personAccountList.stream().distinct().collect(Collectors.toList()); return myList ; }