mybatis 字符串拼接

1
where hname like concat('%',#{selectword},'%') 字符串拼接,将%和selectword拼接成%selectword%

2
ike '%'||#{selectword}||'%'

https://www.cnblogs.com/dushan/p/4766954.html

posted on 2019-06-01 00:26  我也为我疯狂  阅读(22636)  评论(0)    收藏  举报

导航