<resultMap id = "CashInvoiceMap" type="com.dfire.soa.invoice.bo.Invoice">
<id column="id" property="id" />
<result column="order_id" property="orderId" />
<result column="customer_register_id" property="customerRegisterId" />
<result column="entity_id" property="entityId" />
<result column="invoice_kind" property="invoiceKind" />
</resultMap>
property:javabean的属性名,propertyjavabean的属性名。
column:数据库的字段名,column:数据库的字段名。
时间: 2024-10-09 20:10:45