diff --git a/web/src/main/resources/sql/jlw/generalResourcesQuestionSnapshot.md b/web/src/main/resources/sql/jlw/generalResourcesQuestionSnapshot.md index a9a521e7..c2ff4ce8 100644 --- a/web/src/main/resources/sql/jlw/generalResourcesQuestionSnapshot.md +++ b/web/src/main/resources/sql/jlw/generalResourcesQuestionSnapshot.md @@ -933,6 +933,6 @@ getQuestionTestSimpleInfo AND t.business_id in (select ba.course_info_id from course_info ba where ba.course_info_parent_id = #courseInfoParentId#) @pageIgnoreTag() { ORDER BY - t.general_question_setting_name ASC + CONVERT(regexp_replace ( t.general_question_setting_name, '[^0-9]+', '' ),unsigned) asc @} diff --git a/web/src/main/resources/sql/jlw/resourcesQuestionSnapshot.md b/web/src/main/resources/sql/jlw/resourcesQuestionSnapshot.md index 18bc7f2d..07f8cf6f 100644 --- a/web/src/main/resources/sql/jlw/resourcesQuestionSnapshot.md +++ b/web/src/main/resources/sql/jlw/resourcesQuestionSnapshot.md @@ -727,7 +727,7 @@ getQuestionTestSimpleInfo AND t.teacher_open_course_id = #teacherOpenCourseId# @pageIgnoreTag() { ORDER BY - t.teacher_open_course_question_setting_name ASC + CONVERT(regexp_replace ( t.teacher_open_course_question_setting_name, '[^0-9]+', '' ),unsigned) asc @} diff --git a/web/src/main/resources/sql/jlw/teacherOpenCourseQuestionSetting.md b/web/src/main/resources/sql/jlw/teacherOpenCourseQuestionSetting.md index b0181283..a77a47c7 100644 --- a/web/src/main/resources/sql/jlw/teacherOpenCourseQuestionSetting.md +++ b/web/src/main/resources/sql/jlw/teacherOpenCourseQuestionSetting.md @@ -88,8 +88,10 @@ queryByCondition @if(!isEmpty(userIdPlural)){ and find_in_set(t.user_id,#userIdPlural#) @} + @pageIgnoreTag() { ORDER BY CONVERT(regexp_replace ( t.teacher_open_course_question_setting_name, '[^0-9]+', '' ),unsigned) asc + @} queryByConditionQuery === @@ -179,8 +181,11 @@ queryByConditionQuery @if(!isEmpty(userIdPlural)){ and find_in_set(t.user_id,#userIdPlural#) @} + @pageIgnoreTag() { ORDER BY CONVERT(regexp_replace ( t.teacher_open_course_question_setting_name, '[^0-9]+', '' ),unsigned) asc + @} + logicDeleteBySettingIds