beetlsql3-dev
Mlxa0324 2 years ago
parent 15975e323e
commit 6d260f8c50

@ -65,7 +65,9 @@ queryByCondition
@if(isNotEmpty(coreUser) && isNotEmpty(isTeacher) && isTeacher) { @if(isNotEmpty(coreUser) && isNotEmpty(isTeacher) && isTeacher) {
and ta.teacher_id = (select teacher_id from teacher where user_id = #coreUser.id#) 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
@}

@ -97,8 +97,10 @@ queryByCondition
@if(!isEmpty(questionStatus)){ @if(!isEmpty(questionStatus)){
and t.question_status =#questionStatus# and t.question_status =#questionStatus#
@} @}
@pageIgnoreTag(){
ORDER BY t.resources_question_id DESC
@}
ORDER BY t.resources_question_id DESC
deleteResourcesQuestionByIds deleteResourcesQuestionByIds

@ -68,7 +68,9 @@ queryByCondition
@if(!isEmpty(courseLabelIdPlural)){ @if(!isEmpty(courseLabelIdPlural)){
and find_in_set(tc.course_label_id, #courseLabelIdPlural#) and find_in_set(tc.course_label_id, #courseLabelIdPlural#)
@} @}
@pageIgnoreTag(){
order by ta.teacher_open_course_merge_teacher_order_index asc order by ta.teacher_open_course_merge_teacher_order_index asc
@}
queryByConditionQuery queryByConditionQuery
@ -139,7 +141,9 @@ queryByConditionQuery
@if(!isEmpty(courseLabelIdPlural)){ @if(!isEmpty(courseLabelIdPlural)){
and find_in_set(tc.course_label_id, #courseLabelIdPlural#) and find_in_set(tc.course_label_id, #courseLabelIdPlural#)
@} @}
@pageIgnoreTag(){
order by ta.teacher_open_course_merge_teacher_order_index asc order by ta.teacher_open_course_merge_teacher_order_index asc
@}
deleteTeacherOpenCourseByIds deleteTeacherOpenCourseByIds
=== ===

@ -62,7 +62,9 @@ queryByCondition
@if(!isEmpty(schoolClassIdPlural)){ @if(!isEmpty(schoolClassIdPlural)){
and find_in_set(ta.class_id, #schoolClassIdPlural#) and find_in_set(ta.class_id, #schoolClassIdPlural#)
@} @}
@pageIgnoreTag(){
order by t.teacher_open_course_school_class_merge_student_add_time desc order by t.teacher_open_course_school_class_merge_student_add_time desc
@}
queryByConditionQuery queryByConditionQuery
=== ===
@ -127,7 +129,9 @@ queryByConditionQuery
@if(!isEmpty(schoolClassIdPlural)){ @if(!isEmpty(schoolClassIdPlural)){
and find_in_set(ta.class_id, #schoolClassIdPlural#) and find_in_set(ta.class_id, #schoolClassIdPlural#)
@} @}
@pageIgnoreTag(){
order by t.teacher_open_course_school_class_merge_student_add_time desc order by t.teacher_open_course_school_class_merge_student_add_time desc
@}
deleteTeacherOpenCourseMergeStudentByIds deleteTeacherOpenCourseMergeStudentByIds

@ -106,7 +106,10 @@ queryByConditionQuery
@if(!isEmpty(delFlag)){ @if(!isEmpty(delFlag)){
and t.del_flag =#delFlag# and t.del_flag =#delFlag#
@} @}
@pageIgnoreTag(){
order by t.create_time desc
@}

@ -188,7 +188,9 @@ queryByConditionGroup
t.org_id, t.org_id,
t.user_id t.user_id
)tz )tz
@pageIgnoreTag(){
order by tz.teacher_open_course_schedule_session_add_time desc order by tz.teacher_open_course_schedule_session_add_time desc
@}
queryByConditionQuery queryByConditionQuery
=== ===

@ -71,7 +71,9 @@ queryByCondition
@if(!isEmpty(useTypes)){ @if(!isEmpty(useTypes)){
and find_in_set(IFNULL(a.use_type,0),#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 deleteUniversitiesCollegesByIds

Loading…
Cancel
Save