Skip to content

Commit 0215499

Browse files
zhangyd-cgitee-org
authored andcommitted
!48 admin后台,标签列表 搜索框,输入标签名称按回车搜索,没加上标签名模糊搜索
Merge pull request !48 from 阿明/master
2 parents 4803bc9 + 7d96be9 commit 0215499

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

blog-core/src/main/resources/mybatis/BizTagsMapper.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
biz_tags t
1818
WHERE
1919
1 = 1
20+
<if test="keywords != null and keywords != '' ">
21+
AND
22+
t.name LIKE CONCAT('%',#{keywords , jdbcType=VARCHAR},'%')
23+
</if>
2024
</select>
2125
</mapper>
2226

0 commit comments

Comments
 (0)