关于org.apache.ibatis.binding.BindingException: Parameter ‘name‘ not found. 的解决方案

报错信息

org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.BindingException: Parameter ‘name’ not found. Available parameters are [arg1, arg0, param1, param2]

错误截图

关于org.apache.ibatis.binding.BindingException: Parameter ‘name‘ not found. 的解决方案

解决方案

既然它告诉我们找不到参数“名称”,那么我们就给他声明一下

最终结果

关于org.apache.ibatis.binding.BindingException: Parameter ‘name‘ not found. 的解决方案