Mybatis错误:Parameter 'XXX' not found. Available parameters are [1, 0, param1, param2]
原因:传递的参数超过一个
记
解决办法:
(1)直接把值改成数字
1 2 3 |
|
(2)在变量上加注解
1 |
|
1 |
|
https://www.cnblogs.com/durui/p/8279117.html
https://blog.csdn.net/smile_from_2015/article/details/52199446