|
|
|
@ -815,4 +815,37 @@ questionTestResults
|
|
|
|
|
t.student_sn,
|
|
|
|
|
t.student_name,
|
|
|
|
|
th.class_name
|
|
|
|
|
) z
|
|
|
|
|
) z
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getQuestionTestInfoSupplyCenter
|
|
|
|
|
===
|
|
|
|
|
*学生端-获取章节练习的简单信息,供课程中心使用
|
|
|
|
|
|
|
|
|
|
SELECT
|
|
|
|
|
@pageTag(){
|
|
|
|
|
t.teacher_open_course_question_setting_id,
|
|
|
|
|
t.teacher_open_course_question_setting_name,
|
|
|
|
|
t.teacher_open_course_question_setting_type,
|
|
|
|
|
t.teacher_open_course_question_start_time,
|
|
|
|
|
t.teacher_open_course_question_end_time,
|
|
|
|
|
t.teacher_open_course_merge_course_info_id,
|
|
|
|
|
(select count(distinct (tb.resources_question_snapshot_id))
|
|
|
|
|
from resources_question_snapshot tb
|
|
|
|
|
where tb.teacher_open_course_question_setting_id = t.teacher_open_course_question_setting_id
|
|
|
|
|
and tb.question_status = 1) as question_total_count
|
|
|
|
|
@}
|
|
|
|
|
FROM teacher_open_course_question_setting t
|
|
|
|
|
WHERE 1 = 1
|
|
|
|
|
AND t.teacher_open_course_question_setting_push_status = 1
|
|
|
|
|
AND t.teacher_open_course_question_setting_status = 1
|
|
|
|
|
AND t.teacher_open_course_question_setting_type = #teacherOpenCourseQuestionSettingType#
|
|
|
|
|
AND t.teacher_open_course_id = #teacherOpenCourseId#
|
|
|
|
|
AND (select count(distinct (tb.resources_question_snapshot_id))
|
|
|
|
|
from resources_question_snapshot tb
|
|
|
|
|
where tb.teacher_open_course_question_setting_id = t.teacher_open_course_question_setting_id
|
|
|
|
|
and tb.question_status = 1) > 0
|
|
|
|
|
@pageIgnoreTag() {
|
|
|
|
|
ORDER BY
|
|
|
|
|
CONVERT(regexp_replace ( t.teacher_open_course_question_setting_name, '[^0-9]+', '' ),unsigned) asc
|
|
|
|
|
@}
|
|
|
|
|