qirong
2023-06-16 a902b3ea7d5ec9b73c9ab54d09a6ab23fd5acb35
src/main/resources/mapper/QuestionMapper.xml
@@ -192,10 +192,11 @@
        and q.grade_level= #{level}
      </if>
      <if test="subjectId != null ">
        and qs.subject_id =
        and qs.subject_id in
        <foreach item="subjectId" collection="subjectId" open="(" separator=","
                 close=")">
          #{subjectId}
        </foreach>
      </if>
      <if test="questionType != null ">
        and q.question_type= #{questionType}