|
|
|
@ -7,6 +7,7 @@ queryByCondition
|
|
|
|
|
t.*
|
|
|
|
|
@}
|
|
|
|
|
from teacher_open_course_merge_school_class t
|
|
|
|
|
left join teacher_open_course ta on ta.teacher_open_course_id = t.teacher_open_course_id
|
|
|
|
|
where 1=1
|
|
|
|
|
@//数据权限,该sql语句功能点,如果不考虑数据权限,可以删除此行
|
|
|
|
|
and #function("teacherOpenCourseMergeSchoolClass.query")#
|
|
|
|
@ -49,6 +50,9 @@ queryByCondition
|
|
|
|
|
@if(!isEmpty(userIdPlural)){
|
|
|
|
|
and find_in_set(t.user_id,#userIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherOpenCourseTitle)){
|
|
|
|
|
and ta.teacher_open_course_title like #'%'+teacherOpenCourseTitle+'%'#
|
|
|
|
|
@}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
queryByConditionQuery
|
|
|
|
@ -60,6 +64,7 @@ queryByConditionQuery
|
|
|
|
|
t.*
|
|
|
|
|
@}
|
|
|
|
|
from teacher_open_course_merge_school_class t
|
|
|
|
|
left join teacher_open_course ta on ta.teacher_open_course_id = t.teacher_open_course_id
|
|
|
|
|
where 1=1
|
|
|
|
|
@if(!isEmpty(teacherOpenCourseMergeSchoolClassId)){
|
|
|
|
|
and t.teacher_open_course_merge_school_class_id =#teacherOpenCourseMergeSchoolClassId#
|
|
|
|
@ -100,6 +105,9 @@ queryByConditionQuery
|
|
|
|
|
@if(!isEmpty(userIdPlural)){
|
|
|
|
|
and find_in_set(t.user_id,#userIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherOpenCourseTitle)){
|
|
|
|
|
and ta.teacher_open_course_title like #'%'+teacherOpenCourseTitle+'%'#
|
|
|
|
|
@}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|