|
|
@@ -104,16 +104,15 @@ public interface FsUserCourseVideoMapper extends BaseMapper<FsUserCourseVideo> {
|
|
|
"<if test = ' maps.videoId!=null and maps.videoId != \"\" '> " +
|
|
|
"and v.video_id = #{maps.videoId} " +
|
|
|
"</if>" +
|
|
|
- " order by v.course_sort " +
|
|
|
"<choose>"+
|
|
|
"<when test = 'maps.sorting!=null and maps.sorting==1 '> " +
|
|
|
- "order by v.course_sort asc"+
|
|
|
+ " order by v.course_sort asc"+
|
|
|
"</when>"+
|
|
|
"<when test = 'maps.sorting!=null and maps.sorting==2 '> " +
|
|
|
- "order by v.course_sort desc"+
|
|
|
+ " order by v.course_sort desc"+
|
|
|
"</when>"+
|
|
|
"<otherwise>"+
|
|
|
- " order by v.course_sort "+
|
|
|
+ " order by v.course_sort"+
|
|
|
"</otherwise>"+
|
|
|
"</choose>"+
|
|
|
"</script>"})
|