diff --git a/web/src/main/resources/sql/jlw/resourcesApplication.md b/web/src/main/resources/sql/jlw/resourcesApplication.md index 2b3699e3..0e88e0d2 100644 --- a/web/src/main/resources/sql/jlw/resourcesApplication.md +++ b/web/src/main/resources/sql/jlw/resourcesApplication.md @@ -65,7 +65,9 @@ queryByCondition @if(isNotEmpty(coreUser) && isNotEmpty(isTeacher) && isTeacher) { and ta.teacher_id = (select teacher_id from teacher where user_id = #coreUser.id#) @} - order by ta.teacher_merge_application_order_index asc, t.resources_application_id desc + @pageIgnoreTag(){ + order by ta.teacher_merge_application_order_index asc, t.resources_application_id desc + @} diff --git a/web/src/main/resources/sql/jlw/resourcesQuestion.md b/web/src/main/resources/sql/jlw/resourcesQuestion.md index 162d07be..fb8a3ae3 100644 --- a/web/src/main/resources/sql/jlw/resourcesQuestion.md +++ b/web/src/main/resources/sql/jlw/resourcesQuestion.md @@ -97,8 +97,10 @@ queryByCondition @if(!isEmpty(questionStatus)){ and t.question_status =#questionStatus# @} + @pageIgnoreTag(){ + ORDER BY t.resources_question_id DESC + @} - ORDER BY t.resources_question_id DESC deleteResourcesQuestionByIds diff --git a/web/src/main/resources/sql/jlw/teacherOpenCourse.md b/web/src/main/resources/sql/jlw/teacherOpenCourse.md index 83723eeb..70b8a9b0 100644 --- a/web/src/main/resources/sql/jlw/teacherOpenCourse.md +++ b/web/src/main/resources/sql/jlw/teacherOpenCourse.md @@ -68,7 +68,9 @@ queryByCondition @if(!isEmpty(courseLabelIdPlural)){ and find_in_set(tc.course_label_id, #courseLabelIdPlural#) @} + @pageIgnoreTag(){ order by ta.teacher_open_course_merge_teacher_order_index asc + @} queryByConditionQuery @@ -139,7 +141,9 @@ queryByConditionQuery @if(!isEmpty(courseLabelIdPlural)){ and find_in_set(tc.course_label_id, #courseLabelIdPlural#) @} + @pageIgnoreTag(){ order by ta.teacher_open_course_merge_teacher_order_index asc + @} deleteTeacherOpenCourseByIds === diff --git a/web/src/main/resources/sql/jlw/teacherOpenCourseMergeStudent.md b/web/src/main/resources/sql/jlw/teacherOpenCourseMergeStudent.md index 46df4433..112db2bf 100644 --- a/web/src/main/resources/sql/jlw/teacherOpenCourseMergeStudent.md +++ b/web/src/main/resources/sql/jlw/teacherOpenCourseMergeStudent.md @@ -62,7 +62,9 @@ queryByCondition @if(!isEmpty(schoolClassIdPlural)){ and find_in_set(ta.class_id, #schoolClassIdPlural#) @} + @pageIgnoreTag(){ order by t.teacher_open_course_school_class_merge_student_add_time desc + @} queryByConditionQuery === @@ -127,7 +129,9 @@ queryByConditionQuery @if(!isEmpty(schoolClassIdPlural)){ and find_in_set(ta.class_id, #schoolClassIdPlural#) @} + @pageIgnoreTag(){ order by t.teacher_open_course_school_class_merge_student_add_time desc + @} deleteTeacherOpenCourseMergeStudentByIds diff --git a/web/src/main/resources/sql/jlw/teacherOpenCourseNotice.md b/web/src/main/resources/sql/jlw/teacherOpenCourseNotice.md index 571ddfc2..1a6d6c3c 100644 --- a/web/src/main/resources/sql/jlw/teacherOpenCourseNotice.md +++ b/web/src/main/resources/sql/jlw/teacherOpenCourseNotice.md @@ -106,7 +106,10 @@ queryByConditionQuery @if(!isEmpty(delFlag)){ and t.del_flag =#delFlag# @} - + @pageIgnoreTag(){ + order by t.create_time desc + @} + diff --git a/web/src/main/resources/sql/jlw/teacherOpenCourseScheduleSession.md b/web/src/main/resources/sql/jlw/teacherOpenCourseScheduleSession.md index 36d315d9..e8664006 100644 --- a/web/src/main/resources/sql/jlw/teacherOpenCourseScheduleSession.md +++ b/web/src/main/resources/sql/jlw/teacherOpenCourseScheduleSession.md @@ -188,7 +188,9 @@ queryByConditionGroup t.org_id, t.user_id )tz + @pageIgnoreTag(){ order by tz.teacher_open_course_schedule_session_add_time desc + @} queryByConditionQuery === diff --git a/web/src/main/resources/sql/jlw/universitiesColleges.md b/web/src/main/resources/sql/jlw/universitiesColleges.md index b295daed..85ef04e6 100644 --- a/web/src/main/resources/sql/jlw/universitiesColleges.md +++ b/web/src/main/resources/sql/jlw/universitiesColleges.md @@ -71,7 +71,9 @@ queryByCondition @if(!isEmpty(useTypes)){ and find_in_set(IFNULL(a.use_type,0),#useTypes#) @} - ORDER BY t.add_time DESC + @pageIgnoreTag(){ + ORDER BY t.add_time DESC + @} deleteUniversitiesCollegesByIds