|
|
|
@ -84,6 +84,12 @@ queryByCondition
|
|
|
|
|
@if(!isEmpty(teacherOpenCourseScheduleSessionWeekNum)){
|
|
|
|
|
and t.teacher_open_course_schedule_session_week_num =#teacherOpenCourseScheduleSessionWeekNum#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(scheduleSessionTitle)){
|
|
|
|
|
and t.schedule_session_title =#scheduleSessionTitle#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(scheduleSessionTitle)){
|
|
|
|
|
and t.schedule_session_title =#scheduleSessionTitle#
|
|
|
|
|
@}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
queryByConditionGroup
|
|
|
|
@ -102,6 +108,7 @@ queryByConditionGroup
|
|
|
|
|
count(1) AS open_course_day_count,
|
|
|
|
|
t.teacher_id,
|
|
|
|
|
t.school_class_Ids,
|
|
|
|
|
t.schedule_session_title,
|
|
|
|
|
t.teacher_open_course_schedule_session_start_date,
|
|
|
|
|
t.teacher_open_course_schedule_session_end_date,
|
|
|
|
|
t.teacher_open_course_schedule_session_week_num,
|
|
|
|
@ -174,12 +181,16 @@ queryByConditionGroup
|
|
|
|
|
@if(!isEmpty(teacherOpenCourseScheduleSessionWeekNum)){
|
|
|
|
|
and t.teacher_open_course_schedule_session_week_num =#teacherOpenCourseScheduleSessionWeekNum#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(scheduleSessionTitle)){
|
|
|
|
|
and t.schedule_session_title =#scheduleSessionTitle#
|
|
|
|
|
@}
|
|
|
|
|
group by
|
|
|
|
|
t.teacher_open_course_schedule_session_id,
|
|
|
|
|
t.teacher_open_course_schedule_session_status,
|
|
|
|
|
t.teacher_open_course_id,
|
|
|
|
|
t.teacher_id,
|
|
|
|
|
t.school_class_Ids,
|
|
|
|
|
t.schedule_session_title,
|
|
|
|
|
t.teacher_open_course_schedule_session_start_date,
|
|
|
|
|
t.teacher_open_course_schedule_session_end_date,
|
|
|
|
|
t.teacher_open_course_schedule_session_week_num,
|
|
|
|
@ -264,6 +275,9 @@ queryByConditionQuery
|
|
|
|
|
@if(!isEmpty(teacherOpenCourseScheduleSessionWeekNum)){
|
|
|
|
|
and t.teacher_open_course_schedule_session_week_num =#teacherOpenCourseScheduleSessionWeekNum#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(scheduleSessionTitle)){
|
|
|
|
|
and t.schedule_session_title =#scheduleSessionTitle#
|
|
|
|
|
@}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -434,6 +448,9 @@ getTeacherOpenCourseScheduleSessionValues
|
|
|
|
|
@if(!isEmpty(teacherOpenCourseScheduleSessionStatusWeekDetail)){
|
|
|
|
|
and t.teacher_open_course_schedule_session_status_week_detail like #"%"+teacherOpenCourseScheduleSessionStatusWeekDetail+"%"#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(scheduleSessionTitle)){
|
|
|
|
|
and t.schedule_session_title =#scheduleSessionTitle#
|
|
|
|
|
@}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getValuesByQuery
|
|
|
|
@ -505,19 +522,23 @@ getValuesByQuery
|
|
|
|
|
@if(!isEmpty(teacherOpenCourseScheduleSessionStatusWeekDetail)){
|
|
|
|
|
and t.teacher_open_course_schedule_session_status_week_detail like #"%"+teacherOpenCourseScheduleSessionStatusWeekDetail+"%"#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(scheduleSessionTitle)){
|
|
|
|
|
and t.schedule_session_title =#scheduleSessionTitle#
|
|
|
|
|
@}
|
|
|
|
|
|
|
|
|
|
getSessionNameList
|
|
|
|
|
===
|
|
|
|
|
* 导入课程,下拉列表
|
|
|
|
|
SELECT
|
|
|
|
|
ta.teacher_open_course_title,
|
|
|
|
|
t.schedule_session_title,
|
|
|
|
|
t.teacher_open_course_schedule_session_id
|
|
|
|
|
FROM
|
|
|
|
|
teacher_open_course_schedule_session t
|
|
|
|
|
LEFT JOIN teacher_open_course ta ON ta.teacher_open_course_id = t.teacher_open_course_id
|
|
|
|
|
inner JOIN teacher_open_course ta ON ta.teacher_open_course_id = t.teacher_open_course_id
|
|
|
|
|
WHERE
|
|
|
|
|
1 = 1
|
|
|
|
|
AND t.teacher_open_course_schedule_session_status = 1
|
|
|
|
|
AND ta.teacher_open_course_status = 1
|
|
|
|
|
@if(!isEmpty(teacherOpenCourseId)){
|
|
|
|
|
and t.teacher_open_course_id =#teacherOpenCourseId#
|
|
|
|
|
@}
|
|
|
|
|