Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.BindingException: Parameter ‘shopName’ not found. Available parameters are [shopCondition, param1]
myabtis报错,绑定异常
我先去查看了mapper的xml配置文件 发现原来是前面的参数名称遗漏了
然后明白了前面的异常的意思,是mybatis在绑定sql语句的参数时,没有找到这个参数
在接口中定义的方法签名 只有一个参数 shopCondition 你多给我一个shopName闹哪样