|
|
|
@ -112,48 +112,6 @@ deleteTeacherOpenCourseMergeSchoolClassByIds
|
|
|
|
|
delete from teacher_open_course_merge_school_class where find_in_set(teacher_open_course_merge_school_class_id,#ids#)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
deleteTeacherOpenCourseMergeSchoolClassByCondition
|
|
|
|
|
===
|
|
|
|
|
|
|
|
|
|
* 批量删除
|
|
|
|
|
|
|
|
|
|
delete from teacher_open_course_merge_school_class where 1 = 1
|
|
|
|
|
@if(!isEmpty(teacherOpenCourseMergeSchoolClassId)
|
|
|
|
|
|| !isEmpty(teacherOpenCourseMergeSchoolClassIdPlural)
|
|
|
|
|
|| !isEmpty(teacherOpenCourseId)
|
|
|
|
|
|| !isEmpty(teacherOpenCourseIdPlural)
|
|
|
|
|
|| !isEmpty(schoolClassId)
|
|
|
|
|
|| !isEmpty(schoolClassIdPlural)
|
|
|
|
|
){
|
|
|
|
|
and 1 != 1
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherOpenCourseMergeSchoolClassId)){
|
|
|
|
|
and t.teacher_open_course_merge_school_class_id =#teacherOpenCourseMergeSchoolClassId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherOpenCourseMergeSchoolClassIdPlural)){
|
|
|
|
|
and find_in_set(t.teacher_open_course_merge_school_class_id,#teacherOpenCourseMergeSchoolClassIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherOpenCourseId)){
|
|
|
|
|
and t.teacher_open_course_id =#teacherOpenCourseId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherOpenCourseIdPlural)){
|
|
|
|
|
and find_in_set(t.teacher_open_course_id,#teacherOpenCourseIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(schoolClassId)){
|
|
|
|
|
and t.school_class_id =#schoolClassId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(schoolClassIdPlural)){
|
|
|
|
|
and find_in_set(t.school_class_id,#schoolClassIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherOpenCourseMergeSchoolClassStatus)){
|
|
|
|
|
and t.teacher_open_course_merge_school_class_status =#teacherOpenCourseMergeSchoolClassStatus#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherOpenCourseMergeSchoolClassStatusPlural)){
|
|
|
|
|
and find_in_set(t.teacher_open_course_merge_school_class_status,#teacherOpenCourseMergeSchoolClassStatusPlural#)
|
|
|
|
|
@}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getByIds
|
|
|
|
|
===
|
|
|
|
|
|
|
|
|
|