Closed delu-mengyu closed 6 years ago
@abel533
注意所有 Example 相关方法的参数都是 Example 类型。
你好前辈,问题已解决了,还是自己的查询参数有问题.........
nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'distinct' in 'class tk.mybatis.mapper.entity.Example$Criteria' , 我也报了这种错误,我是想在city里也用cityMapper.selectByExample(criteria); 这是什么情况啊
Example 相关方法的参数都是 Example 类型。要注意类型的转换,这样写试试
public List
额,是我写错了,我传的是criteria,谢谢啦
你好,前辈,在你的博客上下载的最新代码, 仍然有org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'distinct' in 'class tk.mybatis.springboot.model.UserInfo' 这个错误,