mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 02:55:04 +08:00
order_basic_info 表添加 insurance_amount字段
This commit is contained in:
@@ -120,6 +120,11 @@ public class OrderBasicInfo {
|
||||
*/
|
||||
private Date payTime;
|
||||
|
||||
/**
|
||||
* 保险金额
|
||||
*/
|
||||
private BigDecimal insuranceAmount;
|
||||
|
||||
/**
|
||||
* 车牌号码
|
||||
*/
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
<result column="pay_status" jdbcType="VARCHAR" property="payStatus"/>
|
||||
<result column="pay_amount" jdbcType="DECIMAL" property="payAmount"/>
|
||||
<result column="pay_time" jdbcType="TIMESTAMP" property="payTime"/>
|
||||
<result column="insurance_amount" jdbcType="DECIMAL" property="insuranceAmount"/>
|
||||
<result column="plate_number" jdbcType="VARCHAR" property="plateNumber"/>
|
||||
<result column="order_amount" jdbcType="DECIMAL" property="orderAmount"/>
|
||||
<result column="virtual_amount" jdbcType="DECIMAL" property="virtualAmount"/>
|
||||
@@ -55,7 +56,7 @@
|
||||
<!--@mbg.generated-->
|
||||
id, order_code, transaction_code, order_status, order_type, merge_charge_number, main_connector_code, member_id, station_id, merchant_id,
|
||||
pile_sn, connector_code, pile_connector_code, logic_card, vin_code, start_mode, third_party_type,
|
||||
pay_mode, pay_status, pay_amount, pay_time, plate_number, order_amount, virtual_amount,
|
||||
pay_mode, pay_status, pay_amount, pay_time, insurance_amount, plate_number, order_amount, virtual_amount,
|
||||
group_code, discount_amount, settle_amount, actual_received_amount, remedial_amount, charge_start_time, charge_end_time,
|
||||
start_type, reserved_start_time, reserved_end_time, start_soc, end_soc, stop_reason_code, reason,
|
||||
settlement_time, refund_amount,
|
||||
@@ -81,7 +82,7 @@
|
||||
pile_sn, connector_code, pile_connector_code,
|
||||
logic_card, vin_code, start_mode,
|
||||
third_party_type, pay_mode, pay_status,
|
||||
pay_amount, pay_time, plate_number,
|
||||
pay_amount, pay_time, insurance_amount, plate_number,
|
||||
order_amount, virtual_amount, group_code,
|
||||
discount_amount, settle_amount, actual_received_amount, remedial_amount,
|
||||
charge_start_time, charge_end_time, start_type,
|
||||
@@ -97,7 +98,7 @@
|
||||
#{pileSn,jdbcType=VARCHAR}, #{connectorCode,jdbcType=VARCHAR}, #{pileConnectorCode,jdbcType=VARCHAR},
|
||||
#{logicCard,jdbcType=VARCHAR}, #{vinCode,jdbcType=VARCHAR}, #{startMode,jdbcType=VARCHAR},
|
||||
#{thirdPartyType,jdbcType=VARCHAR}, #{payMode,jdbcType=VARCHAR}, #{payStatus,jdbcType=VARCHAR},
|
||||
#{payAmount,jdbcType=DECIMAL}, #{payTime,jdbcType=TIMESTAMP}, #{plateNumber,jdbcType=VARCHAR},
|
||||
#{payAmount,jdbcType=DECIMAL}, #{payTime,jdbcType=TIMESTAMP}, #{insuranceAmount,jdbcType=DECIMAL}, #{plateNumber,jdbcType=VARCHAR},
|
||||
#{orderAmount,jdbcType=DECIMAL}, #{virtualAmount,jdbcType=DECIMAL}, #{groupCode,jdbcType=VARCHAR},
|
||||
#{discountAmount,jdbcType=DECIMAL}, #{settleAmount,jdbcType=DECIMAL}, #{actualReceivedAmount,jdbcType=DECIMAL}, #{remedialAmount,jdbcType=DECIMAL},
|
||||
#{chargeStartTime,jdbcType=TIMESTAMP}, #{chargeEndTime,jdbcType=TIMESTAMP}, #{startType,jdbcType=VARCHAR},
|
||||
@@ -173,6 +174,9 @@
|
||||
<if test="payTime != null">
|
||||
pay_time,
|
||||
</if>
|
||||
<if test="insuranceAmount != null">
|
||||
insurance_ammount,
|
||||
</if>
|
||||
<if test="plateNumber != null">
|
||||
plate_number,
|
||||
</if>
|
||||
@@ -310,6 +314,9 @@
|
||||
<if test="payTime != null">
|
||||
#{payTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="insuranceAmount != null">
|
||||
#{insuranceAmount,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="plateNumber != null">
|
||||
#{plateNumber,jdbcType=VARCHAR},
|
||||
</if>
|
||||
@@ -451,6 +458,9 @@
|
||||
<if test="payTime != null">
|
||||
pay_time = #{payTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="insuranceAmount != null">
|
||||
insurance_amount = #{insuranceAmount,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="plateNumber != null">
|
||||
plate_number = #{plateNumber,jdbcType=VARCHAR},
|
||||
</if>
|
||||
@@ -552,6 +562,7 @@
|
||||
pay_status = #{payStatus,jdbcType=VARCHAR},
|
||||
pay_amount = #{payAmount,jdbcType=DECIMAL},
|
||||
pay_time = #{payTime,jdbcType=TIMESTAMP},
|
||||
insurance_amount = #{insuranceAmount,jdbcType=DECIMAL},
|
||||
plate_number = #{plateNumber,jdbcType=VARCHAR},
|
||||
order_amount = #{orderAmount,jdbcType=DECIMAL},
|
||||
virtual_amount = #{virtualAmount,jdbcType=DECIMAL},
|
||||
@@ -683,6 +694,11 @@
|
||||
when id = #{item.id,jdbcType=INTEGER} then #{item.payTime,jdbcType=TIMESTAMP}
|
||||
</foreach>
|
||||
</trim>
|
||||
<trim prefix="insurance_amount = case" suffix="end,">
|
||||
<foreach collection="list" index="index" item="item">
|
||||
when id = #{item.id,jdbcType=INTEGER} then #{item.insuranceAmount,jdbc=DECIMAL}
|
||||
</foreach>
|
||||
</trim>
|
||||
<trim prefix="plate_number = case" suffix="end,">
|
||||
<foreach collection="list" index="index" item="item">
|
||||
when id = #{item.id,jdbcType=INTEGER} then #{item.plateNumber,jdbcType=VARCHAR}
|
||||
@@ -958,6 +974,13 @@
|
||||
</if>
|
||||
</foreach>
|
||||
</trim>
|
||||
<trim prefix="insurance_amount = case" suffix="end,">
|
||||
<foreach collection="list" index="index" item="item">
|
||||
<if test="item.insuranceAmount != null">
|
||||
when id = #{item.id,jdbcType=INTEGER} then #{item.insuranceAmount,jdbcType=DECIMAL}
|
||||
</if>
|
||||
</foreach>
|
||||
</trim>
|
||||
<trim prefix="plate_number = case" suffix="end,">
|
||||
<foreach collection="list" index="index" item="item">
|
||||
<if test="item.plateNumber != null">
|
||||
@@ -1144,7 +1167,7 @@
|
||||
insert into order_basic_info
|
||||
(order_code, transaction_code, order_status, order_type, merge_charge_number, main_connector_code, member_id, station_id, merchant_id,
|
||||
pile_sn, connector_code, pile_connector_code, logic_card, vin_code, start_mode,
|
||||
third_party_type, pay_mode, pay_status, pay_amount, pay_time, plate_number, order_amount,
|
||||
third_party_type, pay_mode, pay_status, pay_amount, pay_time, insurance_amount, plate_number, order_amount,
|
||||
virtual_amount, group_code, discount_amount, settle_amount, actual_received_amount, remedial_amount, charge_start_time,
|
||||
charge_end_time, start_type, reserved_start_time, reserved_end_time, start_soc, end_soc, stop_reason_code,
|
||||
reason, settlement_time,
|
||||
@@ -1160,7 +1183,7 @@
|
||||
#{item.logicCard,jdbcType=VARCHAR}, #{item.vinCode,jdbcType=VARCHAR}, #{item.startMode,jdbcType=VARCHAR},
|
||||
#{item.thirdPartyType,jdbcType=VARCHAR}, #{item.payMode,jdbcType=VARCHAR},
|
||||
#{item.payStatus,jdbcType=VARCHAR},
|
||||
#{item.payAmount,jdbcType=DECIMAL}, #{item.payTime,jdbcType=TIMESTAMP},
|
||||
#{item.payAmount,jdbcType=DECIMAL}, #{item.payTime,jdbcType=TIMESTAMP}, #{item.insuranceAmount,jdbc=DECIMAL},
|
||||
#{item.plateNumber,jdbcType=VARCHAR},
|
||||
#{item.orderAmount,jdbcType=DECIMAL}, #{item.virtualAmount,jdbcType=DECIMAL},
|
||||
#{item.groupCode,jdbcType=VARCHAR},
|
||||
@@ -1207,6 +1230,7 @@
|
||||
pay_status,
|
||||
pay_amount,
|
||||
pay_time,
|
||||
insurance_amount,
|
||||
plate_number,
|
||||
order_amount,
|
||||
virtual_amount,
|
||||
@@ -1258,6 +1282,7 @@
|
||||
#{payStatus,jdbcType=VARCHAR},
|
||||
#{payAmount,jdbcType=DECIMAL},
|
||||
#{payTime,jdbcType=TIMESTAMP},
|
||||
#{insuranceAmount,jdbcType=DECIMAL},
|
||||
#{plateNumber,jdbcType=VARCHAR},
|
||||
#{orderAmount,jdbcType=DECIMAL},
|
||||
#{virtualAmount,jdbcType=DECIMAL},
|
||||
@@ -1309,6 +1334,7 @@
|
||||
pay_status = #{payStatus,jdbcType=VARCHAR},
|
||||
pay_amount = #{payAmount,jdbcType=DECIMAL},
|
||||
pay_time = #{payTime,jdbcType=TIMESTAMP},
|
||||
insurance_amount = #{insuranceAmount,jdbcType=DECIMAL},
|
||||
plate_number = #{plateNumber,jdbcType=VARCHAR},
|
||||
order_amount = #{orderAmount,jdbcType=DECIMAL},
|
||||
virtual_amount = #{virtualAmount,jdbcType=DECIMAL},
|
||||
@@ -1404,6 +1430,9 @@
|
||||
<if test="payTime != null">
|
||||
pay_time,
|
||||
</if>
|
||||
<if test="insuranceAmount != null">
|
||||
insurance_amount,
|
||||
</if>
|
||||
<if test="plateNumber != null">
|
||||
plate_number,
|
||||
</if>
|
||||
@@ -1545,6 +1574,9 @@
|
||||
<if test="payTime != null">
|
||||
#{payTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="insuranceAmount != null">
|
||||
#{insuranceAmount,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="plateNumber != null">
|
||||
#{plateNumber,jdbcType=VARCHAR},
|
||||
</if>
|
||||
@@ -1686,6 +1718,9 @@
|
||||
<if test="payTime != null">
|
||||
pay_time = #{payTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="insuranceAmount != null">
|
||||
insurance_amount = #{insuranceAmount,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="plateNumber != null">
|
||||
plate_number = #{plateNumber,jdbcType=VARCHAR},
|
||||
</if>
|
||||
@@ -2125,6 +2160,9 @@
|
||||
<if test="payTime != null">
|
||||
pay_time,
|
||||
</if>
|
||||
<if test="insuranceAmount != null">
|
||||
insurance_amount,
|
||||
</if>
|
||||
<if test="plateNumber != null">
|
||||
plate_number,
|
||||
</if>
|
||||
@@ -2250,6 +2288,9 @@
|
||||
<if test="payTime != null">
|
||||
#{payTime},
|
||||
</if>
|
||||
<if test="insuranceAmount != null">
|
||||
#{insuranceAmount},
|
||||
</if>
|
||||
<if test="plateNumber != null">
|
||||
#{plateNumber},
|
||||
</if>
|
||||
@@ -2376,6 +2417,9 @@
|
||||
<if test="payTime != null">
|
||||
pay_time = #{payTime},
|
||||
</if>
|
||||
<if test="insuranceAmount != null">
|
||||
insurance_amount = #{insuranceAmount},
|
||||
</if>
|
||||
<if test="plateNumber != null">
|
||||
plate_number = #{plateNumber},
|
||||
</if>
|
||||
|
||||
Reference in New Issue
Block a user