|
|
|
@ -706,9 +706,10 @@ examCourseQuestionDO
|
|
|
|
|
|
|
|
|
|
SELECT
|
|
|
|
|
t.*,
|
|
|
|
|
@// 关联的题目总数量
|
|
|
|
|
( SELECT count( 1 ) FROM general_resources_question_snapshot tb
|
|
|
|
|
WHERE tb.business_course_info_id = t.course_info_id
|
|
|
|
|
AND tb.general_question_setting_id = ta.general_question_setting_id ) AS question_count
|
|
|
|
|
AND tb.general_question_setting_id = ta.general_question_setting_id AND tb.question_status = 1) AS question_count
|
|
|
|
|
FROM
|
|
|
|
|
course_info t
|
|
|
|
|
LEFT JOIN course_label tb on tb.course_label_id = t.course_label_id
|
|
|
|
|