parameterType和输出结果类型resultType详解
时间: 2023-12-31 20:06:22 浏览: 86
parameterType属性用于指定mapper接口方法接受的参数类型。在Mybatis的Mapper文件中,select、insert、update、delete等元素都需要指定parameterType属性,以便将参数正确传递给数据库操作。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [mybatis传入参数类型parameterType和输出结果类型resultType详解](https://blog.csdn.net/krismile__qh/article/details/90633066)[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* [mybatis传入参数类型parameterType和输出结果类型resultType详解(转载的)](https://blog.csdn.net/qq_41115379/article/details/109707733)[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 ]
阅读全文