diff --git a/web/src/main/resources/sql/jlw/generalResourcesQuestionSnapshot.md b/web/src/main/resources/sql/jlw/generalResourcesQuestionSnapshot.md index e6fe642a..cfc560f7 100644 --- a/web/src/main/resources/sql/jlw/generalResourcesQuestionSnapshot.md +++ b/web/src/main/resources/sql/jlw/generalResourcesQuestionSnapshot.md @@ -826,7 +826,7 @@ getQuestionTestSimpleInfo SELECT count( 1 ) FROM - resources_question_snapshot tb + general_resources_question_snapshot tb WHERE tb.general_question_setting_id = t.general_question_setting_id AND tb.question_status = 1 @@ -920,7 +920,7 @@ questionTestResults LEFT JOIN general_merge_student tc ON tc.student_id = t.student_id LEFT JOIN teacher_open_course ta ON ta.business_id = tc.business_id LEFT JOIN general_question_setting tb ON tb.business_id = ta.business_id - LEFT JOIN resources_question_snapshot td ON td.general_question_setting_id = tb.general_question_setting_id + LEFT JOIN general_resources_question_snapshot td ON td.general_question_setting_id = tb.general_question_setting_id LEFT JOIN general_question_log te ON te.general_question_setting_id = tb.general_question_setting_id LEFT JOIN school_class th ON th.class_id = t.class_id @if(!isEmpty(schoolClassIds)) {