|
|
@ -59,7 +59,8 @@ public class OfflineAnswerVideoResource implements AnswerVideoResourceService {
|
|
|
|
public void preGenerationMedicalAnswerVideo(String medicalId) {
|
|
|
|
public void preGenerationMedicalAnswerVideo(String medicalId) {
|
|
|
|
|
|
|
|
|
|
|
|
// 1. 获取视频文件,及视频内容
|
|
|
|
// 1. 获取视频文件,及视频内容
|
|
|
|
List<Pair<String, File>> videoFileAndContent = getVideoFileAndContent(videoPath,indexFile,videoSuffix);
|
|
|
|
List<Pair<String, File>> videoFileAndContent = getVideoFileAndContent(String.join(File.separator,videoPath,medicalId),
|
|
|
|
|
|
|
|
indexFile,videoSuffix);
|
|
|
|
if (CollUtil.isEmpty(videoFileAndContent)){
|
|
|
|
if (CollUtil.isEmpty(videoFileAndContent)){
|
|
|
|
log.info("getVideoFileAndContent result is empty");
|
|
|
|
log.info("getVideoFileAndContent result is empty");
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|