mybatisplus基础查询
时间: 2023-09-18 15:12:41 浏览: 103
查询+mybatis+mybatis+查询
在MyBatis-Plus中,基础查询是通过继承BaseMapper接口来实现的。BaseMapper位于com.baomidou.mybatisplus.core.mapper包下,它封装了MybatisPlus的通用的CRUD(增删改查)接口,为Mybatis-Plus启动时自动解析实体表关系映射转换为Mybatis内部对象注入容器。继承BaseMapper接口后,我们可以直接使用内置的基本CRUD方法,包括查询、添加、更新和删除等操作。MybatisPlus通过对Dao层Mybatis的增强,提供了更简便的方式进行基础查询操作。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [MybatisPlus基本查询](https://blog.csdn.net/qq_42057154/article/details/126598961)[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_1"}}] [.reference_item style="max-width: 50%"]
- *2* [MybatisPlus的查询方式](https://blog.csdn.net/weixin_67059612/article/details/127136354)[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_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文