Java-String...-可变参数-相当于数组-List转数组
String... objectId 实际是数组
List<String> objectIdList = list.stream().map(CourseRetryTranscodeVo::getObjectId).distinct().collect(Collectors.toList());
if (CollectionUtils.isNotEmpty(objectIdList)) {
String[] objectIdArray = objectIdList.toArray(new String[0]);
Boolean aBoolean = fileConvertService.retryJob(objectIdArray);
}
正文到此结束