Browse Source

题库返回单题和母题

tags/正式版本
王宁 2 years ago
parent
commit
43e0ccf8cd
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      sstudy/src/main/resources/mapper/question/QuestionMapper.xml

+ 1
- 0
sstudy/src/main/resources/mapper/question/QuestionMapper.xml View File

@@ -181,6 +181,7 @@
181 181
         <if test="question.complexity!=null and question.complexity!=0">
182 182
             and q.complexity=#{question.complexity}
183 183
         </if>
184
+        and q.qlevel &lt; 3
184 185
         </where>
185 186
         group by q.questionid order by q.qstate,q.createtime desc
186 187
     </select>

Loading…
Cancel
Save