mybatis中mapping文件like查询方式
方式1:
select * from person where name like "%"#{name}"%"
方式2:
select * from person where name like '%'||#{name}||'%'
方式3:
select * from person where name like '%${name}%'
方式4:
select * from person where name like CONCAT('%',#{name},'%')