List<Long> list = Arrays.stream(id.split(",")).map(s -> Long.parseLong(s.trim())).collect(Collectors.toList());