List<String> collect = new ArrayList<>();
collect.add("123");
collect.add("456");
List<Long> userIdList = collect.stream().map(item -> Long.parseLong(item)).collect(Collectors.toList());
List<String> collect = new ArrayList<>();
collect.add("123");
collect.add("456");
List<Long> userIdList = collect.stream().map(item -> Long.parseLong(item)).collect(Collectors.toList());