String转List<Integer>
List<Integer> arrearsIds = Arrays.stream(credential.getUncollectedChargesId().split(",")).map(string -> Integer
.parseInt(string.trim())).collect(Collectors.toList());
List<Integer>转String
String contractIds = StringUtils.join(arrearsIds, ",");