qirong
2023-06-15 9cb0e31627c5050991940d149affc2dbdd86c833
src/main/resources/mapper/QuestionMapper.xml
@@ -192,7 +192,12 @@
        and q.grade_level= #{level}
      </if>
      <if test="subjectId != null ">
        and qs.subject_id= #{subjectId}
        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}