Param()相关报错 发表于 2018-05-12 更新于 2020-03-12 分类于 web开发/czh_java/毕设 阅读次数: 本文字数: 240 阅读时长 ≈ 1 分钟 2018年5月12日 下午8:41 在解决问题的同时也明白了@Param()的作用;:只要是实体类中的属性,我们就必须加上@Param()。不用管它为啥 报错:There is no getter for property named ‘sponsorId’ in ‘class java.lang.Integer’ 参考:Mybatis找不到参数错误:There is no getter for property named ‘categoryId’ in ‘class java.lang.Integer’。 - CSDN博客