当前使用版本3.20 (必填,否则不予处理)
该问题是如何引起的?(确定最新版也有问题再提!!!)
使用updateById 方法时候报错
重现步骤(如果有就写完整)
就是普通的更新对象方法 updateById
报错信息
nested exception is org.apache.ibatis.binding.BindingException: Parameter 'sysRole' not found. Available parameters are [param1, et] org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.BindingException: Parameter 'sysRole' not found. Available parameters are [param1, et] at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:78) at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:440) at com.sun.proxy.$Proxy121.update(Unknown Source) at org.mybatis.spring.SqlSessionTemplate.update(SqlSessionTemplate.java:287) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:63) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:61) at com.sun.proxy.$Proxy166.updateById(Unknown Source) at com.jinhe.modules.system.service.impl.SysRoleServiceImpl.saveOrUpdateA(SysRoleServiceImpl.java:183)