mybatis可以直接返回LinkedList吗
时间: 2024-04-23 09:29:10 浏览: 67
Mybatis返回单个实体或者返回List的实现
5星 · 资源好评率100%
根据引用\[4\]中的内容,可以看出在Mapper接口中定义的方法可以直接返回LinkedList类型。所以,mybatis可以直接返回LinkedList。
#### 引用[.reference_title]
- *1* [【mybatis】mybatis中 返回map集合](https://blog.csdn.net/weixin_34384557/article/details/93385756)[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^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *4* *5* [Mybatis中返回集合元素](https://blog.csdn.net/symuamua/article/details/99764045)[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^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [mybatis的返回值问题](https://blog.csdn.net/weixin_42325327/article/details/103238757)[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^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文