|
|
|
@ -32,8 +32,14 @@ queryByCondition
|
|
|
|
|
@if(!isEmpty(teacherOpenCourseIdPlural)){
|
|
|
|
|
and find_in_set(t.teacher_open_course_id,#teacherOpenCourseIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(schoolClassIds)){
|
|
|
|
|
and find_in_set(t.school_class_ids, #schoolClassIds#)
|
|
|
|
|
@if(!isEmpty( )){
|
|
|
|
|
and IF
|
|
|
|
|
( t.school_class_idsZ not null, TRUE,
|
|
|
|
|
@for(var classId in strUtil.split(schoolClassIds, ',')) {
|
|
|
|
|
find_in_set(#classId#, t.school_class_ids) or
|
|
|
|
|
@}
|
|
|
|
|
@// 用来拼接最后的or
|
|
|
|
|
false )
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherId)){
|
|
|
|
|
and t.teacher_id =#teacherId#
|
|
|
|
|