There is no getter for property named 'dbdm'
时间: 2023-09-21 11:12:26 浏览: 89
使用Mybatis遇到的there is no getter异常
根据提供的引用内容,在给定的类com.fmedu.fmmall.entity.user中,没有名为'user_regtime'的属性的getter方法。为了解决这个问题,可以在相应的属性前添加@Param注解,例如在更新语句中的ServerPO类中添加@Param("service")注解。这样做可以确保属性与数据库字段的映射正确。使用@Param注解后,更新方法的参数也需要相应地使用@Param注解进行标注。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [there is no getter for property named 错误](https://blog.csdn.net/weixin_44267427/article/details/126285164)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [Mybatis报错 There is no getter for property named xxxx](https://blog.csdn.net/weixin_46273997/article/details/125279239)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文