题目设置,题目类型获取总题目数

beetlsql3-dev
Mlxa0324 2 years ago
parent 0b7c4cc2ff
commit 3b56d1b014

@ -731,8 +731,8 @@ getRandomMergeResourcesQuestionList
and find_in_set(t.teacher_open_course_merge_resources_question_id, #resourcesQuestionIdPlural#)
@} else {
@// 随机抽题,根据题目配置动态抽取题目。会存在题库抽不够数的情况。
@if(!isEmpty(typeEnum)){
and find_in_set(t.question_type, #typeEnum#)
@if(!isEmpty(questionType)){
and find_in_set(t.question_type, #questionType#)
@}
@if(!isEmpty(selectCount)){
ORDER BY RAND()

Loading…
Cancel
Save