时间:2021-07-01 10:21:17 帮助过:1人阅读
<!--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
标签: