订单主表新增虚拟金额和结算金额字段

This commit is contained in:
2023-05-24 10:25:10 +08:00
parent 5fdd80a36d
commit 9565d465fa
3 changed files with 32 additions and 2 deletions

View File

@@ -20,6 +20,8 @@
<result property="payAmount" column="pay_amount"/>
<result property="payTime" column="pay_time"/>
<result property="orderAmount" column="order_amount"/>
<result property="virtualAmount" column="virtual_amount"/>
<result property="settleAmount" column="settle_amount"/>
<result property="chargeStartTime" column="charge_start_time"/>
<result property="chargeEndTime" column="charge_end_time"/>
<result property="startType" column="start_type"/>
@@ -98,6 +100,8 @@
pay_amount,
pay_time,
order_amount,
virtual_amount,
settle_amount,
charge_start_time,
charge_end_time,
start_type,
@@ -320,6 +324,12 @@
<if test="orderAmount != null">
order_amount,
</if>
<if test="virtualAmount != null">
virtual_amount,
</if>
<if test="settleAmount != null">
settle_amount,
</if>
<if test="chargeStartTime != null">
charge_start_time,
</if>
@@ -499,6 +509,12 @@
<if test="orderAmount != null">
order_amount = #{orderAmount},
</if>
<if test="virtualAmount != null">
virtual_amount = #{virtualAmount},
</if>
<if test="settleAmount != null">
settle_amount = #{settleAmount},
</if>
<if test="chargeStartTime != null">
charge_start_time = #{chargeStartTime},
</if>