报错:Parameter 'upShelf' not found
Caused by: org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.BindingException: Parameter 'upShelf' not found. Available parameters are [arg1, arg0, param1, param2]
controller层当有2个以上的参数时,要将路径写在参数上
xml中的参数不能用字段名
要用param1,param2
如果去掉路径上的参数和参数前面的注解
会报错以下错误:
如果只是去掉路径上的参数
会报以下错误