报错:
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'uid' in 'class java.lang.Integer'
解决办法:
在接口文件中,加上@Param
将:User findByUid(Integer uid)
改为:User findByUid(@Param("uid") Integer uid);



