Showing
1 changed file
with
1 additions
and
1 deletions
@@ -42,7 +42,7 @@ | @@ -42,7 +42,7 @@ | ||
42 | delete from orders_pay_transfer | 42 | delete from orders_pay_transfer |
43 | where id = #{id,jdbcType=INTEGER} | 43 | where id = #{id,jdbcType=INTEGER} |
44 | </delete> | 44 | </delete> |
45 | - <insert id="insert" parameterType="com.yohoufo.dal.order.model.OrdersPayTransfer" > | 45 | + <insert id="insert" parameterType="com.yohoufo.dal.order.model.OrdersPayTransfer" useGeneratedKeys="true" keyProperty="id" > |
46 | insert into orders_pay_transfer (id, buyer_order_code, seller_order_code, | 46 | insert into orders_pay_transfer (id, buyer_order_code, seller_order_code, |
47 | alipay_trade_id, transfer_type, uid, | 47 | alipay_trade_id, transfer_type, uid, |
48 | alipay_account, amount, status, | 48 | alipay_account, amount, status, |
-
Please register or login to post a comment