- 移除了按课程ID排序的条件 - 保留仅按排序字段进行排序 - 简化SQL查询逻辑
@@ -228,7 +228,7 @@ public interface FsUserCourseMapper
"<if test ='maps.companyIdsList != null and maps.companyIdsList.length !=0 '> " +
" and <foreach collection='maps.companyIdsList' item='item' index='index' open='( 1=2 ' separator='' close=')'> or find_in_set( #{item} , REGEXP_REPLACE ( c.company_ids, '[\"\\\\[\\\\]]', '' ) ) </foreach> " +
"</if> " +
- " order by c.sort,c.course_id "+
+ " order by c.sort "+
"</script>"})
List<FsUserCourseListPVO> selectFsUserCourseListCompanyPVO(@Param("maps")FsUserCourseParam fsUserCourse);