xiangpei
2024-05-17 7f03c1aa378b33379cd15f035904888bbcbf8bac
src/main/resources/mapper/ExamPaperMapper.xml
@@ -461,8 +461,11 @@
          <if test="tagId != null and tagId != ''">
             and b.tag_id = #{tagId}
          </if>
          <if test="deptId != null and deptId != ''">
            and c.department_id = #{deptId}
          <if test="deptIds != null and deptIds.size > 0">
            and c.department_id in
            <foreach collection="deptIds" open="(" separator="," close=")" item="deptId">
              #{deptId}
            </foreach>
          </if>
      group by a.id, a.real_name
      order by a.id