mybatis中Parameter index out of range (2 > number of parameters, which is 1).

${name} 是不带单引号的,而#{name} 是带单引号的

欢迎指正:haizi2014@qq.com
原文地址:https://www.cnblogs.com/hcfan/p/11125053.html