|
|
|
@ -29,6 +29,12 @@ queryByCondition
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherOpenCourseId)){
|
|
|
|
|
and t.teacher_open_course_id =#teacherOpenCourseId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherOpenCourseScheduleSessionOpenOnHolidays)){
|
|
|
|
|
and t.teacher_open_course_schedule_session_open_on_holidays =#teacherOpenCourseScheduleSessionOpenOnHolidays#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherOpenCourseScheduleSessionClassList)){
|
|
|
|
|
and t.teacher_open_course_schedule_session_class_list like #'%'+teacherOpenCourseScheduleSessionClassList+'%'#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherOpenCourseIdPlural)){
|
|
|
|
|
and find_in_set(t.teacher_open_course_id,#teacherOpenCourseIdPlural#)
|
|
|
|
@ -126,6 +132,12 @@ queryByConditionGroup
|
|
|
|
|
@if(!isEmpty(teacherOpenCourseId)){
|
|
|
|
|
and t.teacher_open_course_id =#teacherOpenCourseId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherOpenCourseScheduleSessionOpenOnHolidays)){
|
|
|
|
|
and t.teacher_open_course_schedule_session_open_on_holidays =#teacherOpenCourseScheduleSessionOpenOnHolidays#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherOpenCourseScheduleSessionClassList)){
|
|
|
|
|
and t.teacher_open_course_schedule_session_class_list like #'%'+teacherOpenCourseScheduleSessionClassList+'%'#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherOpenCourseIdPlural)){
|
|
|
|
|
and find_in_set(t.teacher_open_course_id,#teacherOpenCourseIdPlural#)
|
|
|
|
|
@}
|
|
|
|
@ -206,6 +218,12 @@ queryByConditionQuery
|
|
|
|
|
@if(!isEmpty(teacherOpenCourseId)){
|
|
|
|
|
and t.teacher_open_course_id =#teacherOpenCourseId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherOpenCourseScheduleSessionOpenOnHolidays)){
|
|
|
|
|
and t.teacher_open_course_schedule_session_open_on_holidays =#teacherOpenCourseScheduleSessionOpenOnHolidays#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherOpenCourseScheduleSessionClassList)){
|
|
|
|
|
and t.teacher_open_course_schedule_session_class_list like #'%'+teacherOpenCourseScheduleSessionClassList+'%'#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherOpenCourseScheduleSessionStatusWeekDetail)){
|
|
|
|
|
and t.teacher_open_course_schedule_session_status_week_detail like #"%"+teacherOpenCourseScheduleSessionStatusWeekDetail+"%"#
|
|
|
|
|
@}
|
|
|
|
@ -284,6 +302,20 @@ updateGivenByIds
|
|
|
|
|
teacher_open_course_id = null ,
|
|
|
|
|
@}else{
|
|
|
|
|
teacher_open_course_id = #teacherOpenCourseId# ,
|
|
|
|
|
@}
|
|
|
|
|
@}
|
|
|
|
|
@if(contain("teacherOpenCourseScheduleSessionOpenOnHolidays",_given)){
|
|
|
|
|
@if(isEmpty(teacherOpenCourseScheduleSessionOpenOnHolidays)){
|
|
|
|
|
teacher_open_course_schedule_session_open_on_holidays = null ,
|
|
|
|
|
@}else{
|
|
|
|
|
teacher_open_course_schedule_session_open_on_holidays = #teacherOpenCourseScheduleSessionOpenOnHolidays# ,
|
|
|
|
|
@}
|
|
|
|
|
@}
|
|
|
|
|
@if(contain("teacherOpenCourseScheduleSessionClassList",_given)){
|
|
|
|
|
@if(isEmpty(teacherOpenCourseScheduleSessionClassList)){
|
|
|
|
|
teacher_open_course_schedule_session_class_list = null ,
|
|
|
|
|
@}else{
|
|
|
|
|
teacher_open_course_schedule_session_class_list = #teacherOpenCourseScheduleSessionClassList# ,
|
|
|
|
|
@}
|
|
|
|
|
@}
|
|
|
|
|
@if(contain("teacherOpenCourseScheduleSessionStatusWeekDetail",_given)){
|
|
|
|
@ -366,6 +398,12 @@ getTeacherOpenCourseScheduleSessionValues
|
|
|
|
|
@if(!isEmpty(teacherOpenCourseId)){
|
|
|
|
|
and t.teacher_open_course_id =#teacherOpenCourseId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherOpenCourseScheduleSessionOpenOnHolidays)){
|
|
|
|
|
and t.teacher_open_course_schedule_session_open_on_holidays =#teacherOpenCourseScheduleSessionOpenOnHolidays#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherOpenCourseScheduleSessionClassList)){
|
|
|
|
|
and t.teacher_open_course_schedule_session_class_list like #'%'+teacherOpenCourseScheduleSessionClassList+'%'#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherId)){
|
|
|
|
|
and t.teacher_id =#teacherId#
|
|
|
|
|
@}
|
|
|
|
@ -419,6 +457,12 @@ getValuesByQuery
|
|
|
|
|
@if(!isEmpty(teacherOpenCourseId)){
|
|
|
|
|
and t.teacher_open_course_id =#teacherOpenCourseId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherOpenCourseScheduleSessionOpenOnHolidays)){
|
|
|
|
|
and t.teacher_open_course_schedule_session_open_on_holidays =#teacherOpenCourseScheduleSessionOpenOnHolidays#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherOpenCourseScheduleSessionClassList)){
|
|
|
|
|
and t.teacher_open_course_schedule_session_class_list like #'%'+teacherOpenCourseScheduleSessionClassList+'%'#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherOpenCourseIdPlural)){
|
|
|
|
|
and find_in_set(t.teacher_open_course_id,#teacherOpenCourseIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|