2020
10-30
10-30
Mybatis 自动映射(使用需谨慎)
什么是自动映射?介绍自动映射之前先看一下手动映射,如下:<resultMapid="orderModelMap1"type="com.javacode2018.chat05.demo7.model.OrderModel"><idcolumn="id"property="id"/><resultcolumn="userId"property="userId"/><resultcolumn="createTime"property="createTime"/><resultcolumn="upTime"property="upTime"/></resultMap><selectid="getById1"resultMap="orderModelMap1"><![CDATA[SELEC...
继续阅读 >