Просмотр исходного кода

VideoInfo 中的 quality 字段使用 video_url 中的 quality_str 字段

reghao 2 лет назад
Родитель
Сommit
38783fc76f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      dfs-store/src/main/resources/mapper/VideoFileMapper.xml

+ 1 - 1
dfs-store/src/main/resources/mapper/VideoFileMapper.xml

@@ -21,7 +21,7 @@
         select * from video_file
     </select>
     <select id="findVideoInfo" resultType="cn.reghao.oss.api.dto.media.VideoInfo">
-        select video_file.video_file_id,video_file.duration,video_file.horizontal,video_url.quality
+        select video_file.video_file_id,video_file.duration,video_file.horizontal,video_url.quality_str as quality
         from video_file
         inner join video_url
         on video_file.video_file_id=video_url.video_file_id and video_file.video_file_id=#{videoFileId}