MyBatis3 & xxx is ambiguous in Mapped Statements collection异常
MyBatis3 模糊查询 & xxx is ambiguous in Mapped Statements collection异常
转载
模糊查询:
工作中用到,写三种用法吧
1. sql中字符串拼接
SELECT * FROM tableName WHERE name LIKE CONCAT(CONCAT('%', #{text}), '%');
...
原创
2011-08-29 15:02:42 ·
420 阅读 ·
0 评论