是否已交卷

beetlsql3-dev
Mlxa0324 2 years ago
parent 0ea5a4ff8d
commit b36956a963

@ -614,9 +614,19 @@ getQuestionTestSimpleInfo
WHERE WHERE
tb.teacher_open_course_question_setting_id = t.teacher_open_course_question_setting_id tb.teacher_open_course_question_setting_id = t.teacher_open_course_question_setting_id
AND tb.question_status = 1 AND tb.question_status = 1
AND t.teacher_open_course_question_setting_status = 1 ) AS question_total_count,
AND t.teacher_open_course_question_setting_push_status = 1 (
) AS question_total_count SELECT
count( 1 ) > 0
FROM
teacher_open_course_question_log tc
WHERE
tc.teacher_open_course_question_setting_id = t.teacher_open_course_question_setting_id
AND tc.teacher_open_course_question_log_status = 1
@ // 是否已交卷
AND tc.question_log_add_type = 'FINALLY_SUBMIT'
LIMIT 1
) AS is_finished
@} @}
FROM FROM
teacher_open_course_question_setting t teacher_open_course_question_setting t

Loading…
Cancel
Save