...
|
...
|
@@ -18,10 +18,11 @@ |
|
|
<result column="late_fee" property="lateFee" jdbcType="DECIMAL" />
|
|
|
<result column="renew_fee" property="renewFee" jdbcType="DECIMAL" />
|
|
|
<result column="renew_day" property="renewDay" jdbcType="INTEGER" />
|
|
|
<result column="deposit_id" property="depositId" jdbcType="INTEGER" />
|
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List" >
|
|
|
id, uid, order_code, deposit_code, amount, payment, client_type, event_type, status,
|
|
|
create_time, update_time, ship_fee, contract_fee, late_fee, renew_fee, renew_day
|
|
|
create_time, update_time, ship_fee, contract_fee, late_fee, renew_fee, renew_day,deposit_id
|
|
|
</sql>
|
|
|
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
|
|
|
select
|
...
|
...
|
@@ -34,12 +35,12 @@ |
|
|
insert into deposit_order (id, uid, order_code,
|
|
|
deposit_code, amount, payment,
|
|
|
client_type, event_type, status,
|
|
|
create_time, update_time, contract_fee,ship_fee, late_fee, renew_fee, renew_day)
|
|
|
create_time, update_time, contract_fee,ship_fee, late_fee, renew_fee, renew_day, deposit_id)
|
|
|
values (#{id,jdbcType=INTEGER}, #{uid,jdbcType=INTEGER}, #{orderCode,jdbcType=BIGINT},
|
|
|
#{depositCode,jdbcType=VARCHAR}, #{amount,jdbcType=DECIMAL}, #{payment,jdbcType=INTEGER},
|
|
|
#{clientType,jdbcType=INTEGER}, #{eventType,jdbcType=INTEGER}, #{status,jdbcType=INTEGER},
|
|
|
#{createTime,jdbcType=INTEGER}, #{updateTime,jdbcType=INTEGER}, #{contractFee,jdbcType=DECIMAL}, #{shipFee,jdbcType=DECIMAL}
|
|
|
, #{lateFee,jdbcType=DECIMAL}, #{renewFee,jdbcType=DECIMAL}, #{renewDay,jdbcType=INTEGER})
|
|
|
, #{lateFee,jdbcType=DECIMAL}, #{renewFee,jdbcType=DECIMAL}, #{renewDay,jdbcType=INTEGER}, #{depositId,jdbcType=INTEGER})
|
|
|
</insert>
|
|
|
|
|
|
<update id="updatePayment" parameterType="com.yohoufo.dal.order.model.DepositOrder">
|
...
|
...
|
|