Mybatis中mapper.xml中的模糊查询
摘要:
Mybatis中mapper.xml中的模糊查询 <!-- 方法一: 直接使用 % 拼接字符串 注意:此处不能写成 "%#{name}%" ,#{name}就成了字符串的一部分, 会发生这样一个异常: The error occurred while setting parameters, 应该写成 阅读全文
posted @ 2020-02-20 11:44 王行行 阅读(6088) 评论(0) 推荐(0)
浙公网安备 33010602011771号