新增文件模糊搜索xml

This commit is contained in:
2024-11-25 15:51:04 +08:00
parent ae5890ce11
commit cf4f01046a

View File

@@ -59,6 +59,13 @@
<if test="param.contentType != null">
AND a.content_type LIKE CONCAT('%', #{param.contentType}, '%')
</if>
<if test="param.keywords != null">
AND (
a.create_user_id = #{param.keywords}
OR b.name LIKE CONCAT('%', #{param.keywords}, '%')
OR b.comments LIKE CONCAT('%', #{param.keywords}, '%')
)
</if>
</where>
</sql>