龚焕茏
2024-07-11 227ea5a006d52edce7010cd9b950ee4d5d783ea8
fix:排除标签bug修复
1个文件已修改
2 ■■■ 已修改文件
src/main/resources/mapper/ExamPaperMapper.xml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/ExamPaperMapper.xml
@@ -488,7 +488,7 @@
        <if test="excludeTagIds != null and excludeTagIds.size > 0">
          <if test="tagIds != null and tagIds.size > 0">and</if>
          <foreach collection="excludeTagIds" open="(" separator="and" close=")" item="item">
            NOT find_in_set(#{item}, group_concat(b.tag_id) OR group_concat(b.tag_id) IS NULL)
            (NOT find_in_set(#{item}, group_concat(b.tag_id)) OR group_concat(b.tag_id) IS NULL)
          </foreach>
        </if>
      order by a.id