fix 查询报错
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
<select id="listFinds" resultType="com.quinn.pojo.FindResult">
|
||||
select b.bid as topicId,'BLOG' as category,b.gmt_create as gmtCreate,b.title as topicName,b.content_json as contentText from qn_blog b
|
||||
where and b.category_id = '2'
|
||||
where b.category_id = '2'
|
||||
and (
|
||||
b.title like CONCAT('%',#{findWhat},'%') or b.content_json like CONCAT('%',#{findWhat},'%')
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user