青春苦瓜的博客org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'code' in 'class java.lang.String'; (应该是多个参数的情况下会出现) nested exception is org.apache.ibatis....
gxk2019的博客版权所有,转载请注明...在开发中遇到了There is no getter for property…异常。然后看了下源码,分析了下原因,到底什么时候加 @Param,什么时候不加。 代码 mapper接口方法: int selectStudentById(String id...