mybatis plus @select
时间: 2023-09-21 11:03:58 浏览: 87
mybatis plus.txt
@select是MyBatis-Plus框架中的注解,用于编写SQL查询语句。[3] MyBatis-Plus是在MyBatis基础之上进行的扩展,提供了更多的便利功能,包括注解方式编写SQL语句。使用@select注解可以在DAO层中直接编写查询语句,省去了编写mapper.xml文件的步骤。 这种注解方式简化了代码的编写,提高了开发效率。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [Mybatis](https://blog.csdn.net/yuanlcj/article/details/115113642)[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%"]
- *3* [在mybatis-plus项目中自带要编写sql语句,@select注解的使用](https://blog.csdn.net/qq_49249150/article/details/127578898)[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 ]
阅读全文