diff --git a/web/src/main/resources/sql/jlw/teacherOpenCourseQuestionSetting.md b/web/src/main/resources/sql/jlw/teacherOpenCourseQuestionSetting.md index 9ffec29e..dd05a7db 100644 --- a/web/src/main/resources/sql/jlw/teacherOpenCourseQuestionSetting.md +++ b/web/src/main/resources/sql/jlw/teacherOpenCourseQuestionSetting.md @@ -835,7 +835,7 @@ getNotEmptyQuestionSetting from teacher_open_course_question_setting t where 1=1 @//题目不为空 - and ( SELECT count( 1 ) 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 ) > 1 + and ( SELECT count( 1 ) 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 ) >= 1 @if(!isEmpty(teacherOpenCourseQuestionSettingId)){ and t.teacher_open_course_question_setting_id =#teacherOpenCourseQuestionSettingId# @}