|
|
@@ -208,7 +208,7 @@ public interface FsUserCourseVideoMapper extends BaseMapper<FsUserCourseVideo> {
|
|
|
List<OptionsVO> selectVideoListByMap(@Param("params") Map<String, Object> params);
|
|
|
|
|
|
@Select("<script> " +
|
|
|
- "select v.video_id,v.course_id,v.title,v.video_url,v.thumbnail,v.duration,v.create_time from fs_user_course_video v " +
|
|
|
+ "select v.video_id,v.course_id,v.title,v.line_one as video_url,v.thumbnail,v.duration,v.create_time from fs_user_course_video v " +
|
|
|
"left join fs_user_course c on c.course_id = v.course_id " +
|
|
|
"where c.is_private = 1 and v.is_del = 0 and v.course_id=#{data.courseId} " +
|
|
|
" <if test=\"data.keyword != null and data.keyword !='' \">\n" +
|
|
|
@@ -222,7 +222,7 @@ public interface FsUserCourseVideoMapper extends BaseMapper<FsUserCourseVideo> {
|
|
|
List<FsCourseVideoListBySidebarVO> getFsCourseVideoListBySidebar(@Param("data") FsCourseListBySidebarParam param);
|
|
|
|
|
|
@Select("<script> " +
|
|
|
- "select v.video_id,v.course_id,v.title,v.video_url,v.thumbnail,v.duration,v.create_time from fs_user_course_video v " +
|
|
|
+ "select v.video_id,v.course_id,v.title,v.line_one as video_url,v.thumbnail,v.duration,v.create_time from fs_user_course_video v " +
|
|
|
"left join fs_user_course c on c.course_id = v.course_id " +
|
|
|
"where c.is_private = 1 and v.is_del = 0 and v.course_id=#{data.courseId} " +
|
|
|
" <if test=\"data.videoIds != null \">\n" +
|