MybatisPlus @delete标签
时间: 2024-01-11 16:41:27 浏览: 86
MybatisPlus中并没有直接提供@delete标签,引用中的@Delete注解是用于在使用注解方式进行SQL操作时,指定删除语句的。例如,@Delete("delete from sys_role where id = #{id}")表示删除sys_role表中id等于指定id值的记录。该注解会将对应的SQL语句发送到数据库执行,并返回受影响的行数作为结果。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [MybatisPlus的删除delete](https://blog.csdn.net/weixin_43725517/article/details/121483649)[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: 33.333333333333336%"]
- *2* [Mybatis注解开发 @Select @Insert @Update @Delete](https://blog.csdn.net/qq_36615278/article/details/116297684)[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: 33.333333333333336%"]
- *3* [Mybatis面试题(含答案)_.pdf](https://download.csdn.net/download/qq_44273429/20813224)[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: 33.333333333333336%"]
[ .reference_list ]
阅读全文