There is no getter for property named ‘distinct‘ in ‘class tk.mybatis.mapper

    今天调试接口时候发现程序报错 There is no getter for property named 'distinct' in 'class tk.mybatis.mapper.entity.Example$Criteria,仔细排查下来发现问题所在,​ mapper.selectByExample()方法里面应该传入的参数是example对象。 ​ 记录下来,以防以后粗心带来的错误
相关文章
相关标签/搜索