qirong
2023-06-16 1f16aa96a1f88be11f33efcb2862218be4342e44
src/main/resources/mapper/QuestionMapper.xml
@@ -192,11 +192,9 @@
        and q.grade_level= #{level}
      </if>
      <if test="subjectId != null ">
        and qs.subject_id in
        <foreach item="subjectId" collection="subjectId" open="(" separator=","
                 close=")">
        and qs.subject_id =
          #{subjectId}
        </foreach>
      </if>
      <if test="questionType != null ">
@@ -206,6 +204,7 @@
        and q.info_text_content_id in (SELECT id FROM t_text_content WHERE content like concat('%',#{content},'%') )
      </if>
    </where>
    group by q.id
  </select>