manage: add 病例答案视频资源服务

dev_2.1.0
xueqingkun 1 year ago
parent 4ebaecee17
commit 2c923f00ce

@ -8,7 +8,6 @@ import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.List;
@Api(tags = "病历管理")
@RestController

@ -59,7 +59,8 @@ public class OfflineAnswerVideoResource implements AnswerVideoResourceService {
public void preGenerationMedicalAnswerVideo(String medicalId) {
// 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)){
log.info("getVideoFileAndContent result is empty");
return;

Loading…
Cancel
Save