From c2487295c547c706963be42feddf4e4c6afccd99 Mon Sep 17 00:00:00 2001 From: Lemon Date: Fri, 5 Sep 2025 13:46:18 +0800 Subject: [PATCH] =?UTF-8?q?order=5Fbasic=5Finfo=20=E8=A1=A8=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=20insurance=5Famount=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jsowell/pile/domain/OrderBasicInfo.java | 5 ++ .../mapper/pile/OrderBasicInfoMapper.xml | 54 +++++++++++++++++-- 2 files changed, 54 insertions(+), 5 deletions(-) diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/domain/OrderBasicInfo.java b/jsowell-pile/src/main/java/com/jsowell/pile/domain/OrderBasicInfo.java index 654e1ce0f..670037b4c 100644 --- a/jsowell-pile/src/main/java/com/jsowell/pile/domain/OrderBasicInfo.java +++ b/jsowell-pile/src/main/java/com/jsowell/pile/domain/OrderBasicInfo.java @@ -120,6 +120,11 @@ public class OrderBasicInfo { */ private Date payTime; + /** + * 保险金额 + */ + private BigDecimal insuranceAmount; + /** * 车牌号码 */ diff --git a/jsowell-pile/src/main/resources/mapper/pile/OrderBasicInfoMapper.xml b/jsowell-pile/src/main/resources/mapper/pile/OrderBasicInfoMapper.xml index 6007e58f3..dd5514275 100644 --- a/jsowell-pile/src/main/resources/mapper/pile/OrderBasicInfoMapper.xml +++ b/jsowell-pile/src/main/resources/mapper/pile/OrderBasicInfoMapper.xml @@ -25,6 +25,7 @@ + @@ -55,7 +56,7 @@ 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 @@ pay_time, + + insurance_ammount, + plate_number, @@ -310,6 +314,9 @@ #{payTime,jdbcType=TIMESTAMP}, + + #{insuranceAmount,jdbcType=DECIMAL}, + #{plateNumber,jdbcType=VARCHAR}, @@ -451,6 +458,9 @@ pay_time = #{payTime,jdbcType=TIMESTAMP}, + + insurance_amount = #{insuranceAmount,jdbcType=DECIMAL}, + plate_number = #{plateNumber,jdbcType=VARCHAR}, @@ -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} + + + when id = #{item.id,jdbcType=INTEGER} then #{item.insuranceAmount,jdbc=DECIMAL} + + when id = #{item.id,jdbcType=INTEGER} then #{item.plateNumber,jdbcType=VARCHAR} @@ -958,6 +974,13 @@ + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.insuranceAmount,jdbcType=DECIMAL} + + + @@ -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 @@ pay_time, + + insurance_amount, + plate_number, @@ -1545,6 +1574,9 @@ #{payTime,jdbcType=TIMESTAMP}, + + #{insuranceAmount,jdbcType=DECIMAL}, + #{plateNumber,jdbcType=VARCHAR}, @@ -1686,6 +1718,9 @@ pay_time = #{payTime,jdbcType=TIMESTAMP}, + + insurance_amount = #{insuranceAmount,jdbcType=DECIMAL}, + plate_number = #{plateNumber,jdbcType=VARCHAR}, @@ -2125,6 +2160,9 @@ pay_time, + + insurance_amount, + plate_number, @@ -2250,6 +2288,9 @@ #{payTime}, + + #{insuranceAmount}, + #{plateNumber}, @@ -2376,6 +2417,9 @@ pay_time = #{payTime}, + + insurance_amount = #{insuranceAmount}, + plate_number = #{plateNumber},