org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.BindingException: Parameter ‘userGUID’ not found. Available parameters are [param1, userGuid, param2, param3, name]
一般这种情况主要是因为mapper.java入参与mapper.xml的入参变量代码书写不一致,如上我们看到报错的userGUID名称与sql的userGuid不一样,因此,一定要书写一样的参数名称,否则会报此错误