新增文件模糊搜索xml
This commit is contained in:
@@ -59,6 +59,13 @@
|
|||||||
<if test="param.contentType != null">
|
<if test="param.contentType != null">
|
||||||
AND a.content_type LIKE CONCAT('%', #{param.contentType}, '%')
|
AND a.content_type LIKE CONCAT('%', #{param.contentType}, '%')
|
||||||
</if>
|
</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>
|
</where>
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user