ibatis/mybatis模糊匹配

来源:https://www.cnblogs.com/gaojing/archive/2013/01/04/2844932.htmlhtml 无效的方法:mysql select * from table1 where name like '%#name#%'  两种有效的方法: 1) 使用$代替#。此种方法就是去掉了类型检查,使用字符串链接,不过可能会有sql注入风险。sql select
相关文章
相关标签/搜索