<!--Mybatis动态SQL中使用Like语句--> select * from person where name like "%"#{name}"%"<!--推荐使用--> select * from person where name like '%'||#{name}||'%' select * from person where name like '%${name}%'
<!--Mybatis动态SQL中使用Like语句--> select * from person where name like "%"#{name}"%"<!--推荐使用--> select * from person where name like '%'||#{name}||'%' select * from person where name like '%${name}%'