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

视频源更新后。所有营期的视频同步更新优化要求素材名称跟着视频名字走、课程管理处名称和文件名称一致,小节名称

luolinsong 1 месяц назад
Родитель
Сommit
e1db197f1c

+ 2 - 1
fs-service/src/main/resources/mapper/course/FsUserCourseVideoMapper.xml

@@ -246,7 +246,8 @@
     <update id="updateVideoByVideoUrl" >
         update fs_user_course_video set video_url = #{videoUrl},
                                         thumbnail = #{thumbnail},
-                                        file_name = #{fileName}
+                                        file_name = #{fileName},
+                                        title = #{fileName}
         where video_id in 
         <foreach item="videoId" collection="ids" open="(" separator="," close=")">
             #{videoId}