mybatis 字符串拼接00

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

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

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

2.  bind标签

转载于:https://www.cnblogs.com/myitdog/p/10958189.html

你可能感兴趣的:(mybatis 字符串拼接00)