xw 1 день назад
Родитель
Сommit
39224c48c9

+ 2 - 2
fs-service/src/main/java/com/fs/course/mapper/FsUserCourseVideoMapper.java

@@ -248,7 +248,7 @@ public interface FsUserCourseVideoMapper
             "        <if test=\"data.keyword != null and data.keyword !='' \">\n" +
             "            AND v.title LIKE concat('%',#{data.keyword},'%')\n" +
             "        </if>" +
-            "order by v.video_id asc " +
+            "order by v.course_sort asc " +
             "</script>")
     List<FsCourseVideoListBySidebarVO> getFsCourseVideoListBySidebar(@Param("data") FsCourseListBySidebarParam param);
 
@@ -265,7 +265,7 @@ public interface FsUserCourseVideoMapper
             "    <if test=\"data.keyword != null and data.keyword !='' \">\n" +
             "       AND v.title LIKE concat('%',#{data.keyword},'%')\n" +
             "    </if>" +
-            "order by v.video_id asc " +
+            "order by v.course_sort asc " +
             "</script>")
     List<FsCourseVideoListBySidebarVO> getFsCourseVideoListBySidebarFilter(@Param("data") FsCourseListBySidebarParam param);