|
|
|
@ -13,7 +13,7 @@ queryByCondition
|
|
|
|
|
left join student ta on ta.student_id = t.student_id and ta.student_status = 1
|
|
|
|
|
left join school_class tb on tb.class_id = ta.class_id and tb.class_status = 1
|
|
|
|
|
@ // 如果关联类型不为空,则关联题目配置表
|
|
|
|
|
@if(!isEmpty(questionSettingType)){
|
|
|
|
|
@if(!isEmpty(questionLogAddType)){
|
|
|
|
|
inner join teacher_open_course_question_setting tc on tc.teacher_open_course_question_setting_id = t.teacher_open_course_question_setting_id
|
|
|
|
|
@}
|
|
|
|
|
where 1=1
|
|
|
|
@ -128,7 +128,7 @@ queryByCondition
|
|
|
|
|
@if(!isEmpty(schoolClassIdPlural)){
|
|
|
|
|
and find_in_set(ta.class_id, #schoolClassIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(questionSettingType)){
|
|
|
|
|
@if(!isEmpty(questionLogAddType)){
|
|
|
|
|
and tc.teacher_open_course_question_setting_type = #questionSettingType#
|
|
|
|
|
and tc.teacher_open_course_question_setting_status = 1
|
|
|
|
|
and tc.teacher_open_course_question_setting_push_status = 1
|
|
|
|
@ -149,7 +149,7 @@ queryByConditionQuery
|
|
|
|
|
left join student ta on ta.student_id = t.student_id and ta.student_status = 1
|
|
|
|
|
left join school_class tb on tb.class_id = ta.class_id and tb.class_status = 1
|
|
|
|
|
@ // 如果关联类型不为空,则关联题目配置表
|
|
|
|
|
@if(!isEmpty(questionSettingType)){
|
|
|
|
|
@if(!isEmpty(questionLogAddType)){
|
|
|
|
|
inner join teacher_open_course_question_setting tc on tc.teacher_open_course_question_setting_id = t.teacher_open_course_question_setting_id
|
|
|
|
|
@}
|
|
|
|
|
where 1=1
|
|
|
|
@ -262,7 +262,7 @@ queryByConditionQuery
|
|
|
|
|
@if(!isEmpty(schoolClassIdPlural)){
|
|
|
|
|
and find_in_set(ta.class_id, #schoolClassIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(questionSettingType)){
|
|
|
|
|
@if(!isEmpty(questionLogAddType)){
|
|
|
|
|
and tc.teacher_open_course_question_setting_type = #questionSettingType#
|
|
|
|
|
and tc.teacher_open_course_question_setting_status = 1
|
|
|
|
|
and tc.teacher_open_course_question_setting_push_status = 1
|
|
|
|
@ -396,7 +396,7 @@ studentScoreList
|
|
|
|
|
@if(!isEmpty(schoolClassIdPlural)){
|
|
|
|
|
and find_in_set(ta.class_id, #schoolClassIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(questionSettingType)){
|
|
|
|
|
@if(!isEmpty(questionLogAddType)){
|
|
|
|
|
and tc.teacher_open_course_question_setting_type = #questionSettingType#
|
|
|
|
|
and tc.teacher_open_course_question_setting_status = 1
|
|
|
|
|
and tc.teacher_open_course_question_setting_push_status = 1
|
|
|
|
@ -550,7 +550,7 @@ getTeacherOpenCourseQuestionLogValues
|
|
|
|
|
left join student ta on ta.student_id = t.student_id and ta.student_status = 1
|
|
|
|
|
left join school_class tb on tb.class_id = ta.class_id and tb.class_status = 1
|
|
|
|
|
@ // 如果关联类型不为空,则关联题目配置表
|
|
|
|
|
@if(!isEmpty(questionSettingType)){
|
|
|
|
|
@if(!isEmpty(questionLogAddType)){
|
|
|
|
|
inner join teacher_open_course_question_setting tc on tc.teacher_open_course_question_setting_id = t.teacher_open_course_question_setting_id
|
|
|
|
|
@}
|
|
|
|
|
where 1=1
|
|
|
|
@ -617,7 +617,7 @@ getValuesByQuery
|
|
|
|
|
left join student ta on ta.student_id = t.student_id and ta.student_status = 1
|
|
|
|
|
left join school_class tb on tb.class_id = ta.class_id and tb.class_status = 1
|
|
|
|
|
@ // 如果关联类型不为空,则关联题目配置表
|
|
|
|
|
@if(!isEmpty(questionSettingType)){
|
|
|
|
|
@if(!isEmpty(questionLogAddType)){
|
|
|
|
|
inner join teacher_open_course_question_setting tc on tc.teacher_open_course_question_setting_id = t.teacher_open_course_question_setting_id
|
|
|
|
|
@}
|
|
|
|
|
where 1=1 and #function("teacherOpenCourseQuestionLog.query")#
|
|
|
|
@ -697,7 +697,7 @@ getValuesByQuery
|
|
|
|
|
@if(!isEmpty(schoolClassIdPlural)){
|
|
|
|
|
and find_in_set(ta.class_id, #schoolClassIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(questionSettingType)){
|
|
|
|
|
@if(!isEmpty(questionLogAddType)){
|
|
|
|
|
and tc.teacher_open_course_question_setting_type = #questionSettingType#
|
|
|
|
|
and tc.teacher_open_course_question_setting_status = 1
|
|
|
|
|
and tc.teacher_open_course_question_setting_push_status = 1
|
|
|
|
@ -718,7 +718,7 @@ getValuesByQueryNotWithPermission
|
|
|
|
|
left join student ta on ta.student_id = t.student_id and ta.student_status = 1
|
|
|
|
|
left join school_class tb on tb.class_id = ta.class_id and tb.class_status = 1
|
|
|
|
|
@ // 如果关联类型不为空,则关联题目配置表
|
|
|
|
|
@if(!isEmpty(questionSettingType)){
|
|
|
|
|
@if(!isEmpty(questionLogAddType)){
|
|
|
|
|
inner join teacher_open_course_question_setting tc on tc.teacher_open_course_question_setting_id = t.teacher_open_course_question_setting_id
|
|
|
|
|
@}
|
|
|
|
|
where 1=1
|
|
|
|
@ -798,7 +798,7 @@ getValuesByQueryNotWithPermission
|
|
|
|
|
@if(!isEmpty(schoolClassIdPlural)){
|
|
|
|
|
and find_in_set(ta.class_id, #schoolClassIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(questionSettingType)){
|
|
|
|
|
@if(!isEmpty(questionLogAddType)){
|
|
|
|
|
and tc.teacher_open_course_question_setting_type = #questionSettingType#
|
|
|
|
|
and tc.teacher_open_course_question_setting_status = 1
|
|
|
|
|
and tc.teacher_open_course_question_setting_push_status = 1
|
|
|
|
@ -834,7 +834,7 @@ getQuestionLogScoreDetailsInfo
|
|
|
|
|
left join student ta on ta.student_id = t.student_id and ta.student_status = 1
|
|
|
|
|
left join school_class tb on tb.class_id = ta.class_id and tb.class_status = 1
|
|
|
|
|
@ // 如果关联类型不为空,则关联题目配置表
|
|
|
|
|
@if(!isEmpty(questionSettingType)){
|
|
|
|
|
@if(!isEmpty(questionLogAddType)){
|
|
|
|
|
inner join teacher_open_course_question_setting tc on tc.teacher_open_course_question_setting_id = t.teacher_open_course_question_setting_id
|
|
|
|
|
@}
|
|
|
|
|
where
|
|
|
|
|