mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
add 订单基本信息表添加 third_party_type 字段
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
<result column="logic_card" jdbcType="VARCHAR" property="logicCard" />
|
||||
<result column="vin_code" jdbcType="VARCHAR" property="vinCode" />
|
||||
<result column="start_mode" jdbcType="VARCHAR" property="startMode" />
|
||||
<result column="third_party_type" jdbcType="VARCHAR" property="thirdPartyType" />
|
||||
<result column="pay_mode" jdbcType="VARCHAR" property="payMode" />
|
||||
<result column="pay_status" jdbcType="VARCHAR" property="payStatus" />
|
||||
<result column="pay_amount" jdbcType="DECIMAL" property="payAmount" />
|
||||
@@ -45,7 +46,7 @@
|
||||
<sql id="Base_Column_List">
|
||||
<!--@mbg.generated-->
|
||||
id, order_code, transaction_code, order_status, member_id, station_id, merchant_id,
|
||||
pile_sn, connector_code, pile_connector_code, logic_card, vin_code, start_mode, pay_mode,
|
||||
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, discount_amount,
|
||||
settle_amount, charge_start_time, charge_end_time, start_type, appointment_time,
|
||||
start_soc, end_soc, reason, settlement_time, refund_amount, refund_status, create_by,
|
||||
@@ -68,7 +69,7 @@
|
||||
insert into order_basic_info (order_code, transaction_code, order_status,
|
||||
member_id, station_id, merchant_id,
|
||||
pile_sn, connector_code, pile_connector_code,
|
||||
logic_card, vin_code, start_mode,
|
||||
logic_card, vin_code, start_mode, third_party_type,
|
||||
pay_mode, pay_status, pay_amount,
|
||||
pay_time, plate_number, order_amount,
|
||||
virtual_amount, discount_amount, settle_amount,
|
||||
@@ -81,7 +82,7 @@
|
||||
values (#{orderCode,jdbcType=VARCHAR}, #{transactionCode,jdbcType=VARCHAR}, #{orderStatus,jdbcType=VARCHAR},
|
||||
#{memberId,jdbcType=VARCHAR}, #{stationId,jdbcType=VARCHAR}, #{merchantId,jdbcType=VARCHAR},
|
||||
#{pileSn,jdbcType=VARCHAR}, #{connectorCode,jdbcType=VARCHAR}, #{pileConnectorCode,jdbcType=VARCHAR},
|
||||
#{logicCard,jdbcType=VARCHAR}, #{vinCode,jdbcType=VARCHAR}, #{startMode,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}, #{orderAmount,jdbcType=DECIMAL},
|
||||
#{virtualAmount,jdbcType=DECIMAL}, #{discountAmount,jdbcType=DECIMAL}, #{settleAmount,jdbcType=DECIMAL},
|
||||
@@ -132,6 +133,9 @@
|
||||
<if test="startMode != null">
|
||||
start_mode,
|
||||
</if>
|
||||
<if test="thirdPartyType != null">
|
||||
third_party_type,
|
||||
</if>
|
||||
<if test="payMode != null">
|
||||
pay_mode,
|
||||
</if>
|
||||
@@ -242,6 +246,9 @@
|
||||
<if test="startMode != null">
|
||||
#{startMode,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="thirdPartyType != null">
|
||||
#{thirdPartyType,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="payMode != null">
|
||||
#{payMode,jdbcType=VARCHAR},
|
||||
</if>
|
||||
@@ -356,6 +363,9 @@
|
||||
<if test="startMode != null">
|
||||
start_mode = #{startMode,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="thirdPartyType != null">
|
||||
third_party_type = #{thirdPartyType,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="payMode != null">
|
||||
pay_mode = #{payMode,jdbcType=VARCHAR},
|
||||
</if>
|
||||
@@ -446,6 +456,7 @@
|
||||
logic_card = #{logicCard,jdbcType=VARCHAR},
|
||||
vin_code = #{vinCode,jdbcType=VARCHAR},
|
||||
start_mode = #{startMode,jdbcType=VARCHAR},
|
||||
third_party_type = #{thirdPartyType,jdbcType=VARCHAR},
|
||||
pay_mode = #{payMode,jdbcType=VARCHAR},
|
||||
pay_status = #{payStatus,jdbcType=VARCHAR},
|
||||
pay_amount = #{payAmount,jdbcType=DECIMAL},
|
||||
@@ -536,6 +547,11 @@
|
||||
when id = #{item.id,jdbcType=INTEGER} then #{item.startMode,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</trim>
|
||||
<trim prefix="third_party_type = case" suffix="end,">
|
||||
<foreach collection="list" index="index" item="item">
|
||||
when id = #{item.id,jdbcType=INTEGER} then #{item.thirdPartyType,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</trim>
|
||||
<trim prefix="pay_mode = case" suffix="end,">
|
||||
<foreach collection="list" index="index" item="item">
|
||||
when id = #{item.id,jdbcType=INTEGER} then #{item.payMode,jdbcType=VARCHAR}
|
||||
@@ -750,6 +766,13 @@
|
||||
</if>
|
||||
</foreach>
|
||||
</trim>
|
||||
<trim prefix="third_party_type = case" suffix="end,">
|
||||
<foreach collection="list" index="index" item="item">
|
||||
<if test="item.thirdPartyType != null">
|
||||
when id = #{item.id,jdbcType=INTEGER} then #{item.thirdPartyType,jdbcType=VARCHAR}
|
||||
</if>
|
||||
</foreach>
|
||||
</trim>
|
||||
<trim prefix="pay_mode = case" suffix="end,">
|
||||
<foreach collection="list" index="index" item="item">
|
||||
<if test="item.payMode != null">
|
||||
@@ -928,7 +951,7 @@
|
||||
<!--@mbg.generated-->
|
||||
insert into order_basic_info
|
||||
(order_code, transaction_code, order_status, member_id, station_id, merchant_id,
|
||||
pile_sn, connector_code, pile_connector_code, logic_card, vin_code, start_mode,
|
||||
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,
|
||||
discount_amount, settle_amount, charge_start_time, charge_end_time, start_type,
|
||||
appointment_time, start_soc, end_soc, reason, settlement_time, refund_amount, refund_status,
|
||||
@@ -938,7 +961,7 @@
|
||||
(#{item.orderCode,jdbcType=VARCHAR}, #{item.transactionCode,jdbcType=VARCHAR}, #{item.orderStatus,jdbcType=VARCHAR},
|
||||
#{item.memberId,jdbcType=VARCHAR}, #{item.stationId,jdbcType=VARCHAR}, #{item.merchantId,jdbcType=VARCHAR},
|
||||
#{item.pileSn,jdbcType=VARCHAR}, #{item.connectorCode,jdbcType=VARCHAR}, #{item.pileConnectorCode,jdbcType=VARCHAR},
|
||||
#{item.logicCard,jdbcType=VARCHAR}, #{item.vinCode,jdbcType=VARCHAR}, #{item.startMode,jdbcType=VARCHAR},
|
||||
#{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.plateNumber,jdbcType=VARCHAR}, #{item.orderAmount,jdbcType=DECIMAL},
|
||||
#{item.virtualAmount,jdbcType=DECIMAL}, #{item.discountAmount,jdbcType=DECIMAL},
|
||||
@@ -970,6 +993,7 @@
|
||||
logic_card,
|
||||
vin_code,
|
||||
start_mode,
|
||||
third_party_type,
|
||||
pay_mode,
|
||||
pay_status,
|
||||
pay_amount,
|
||||
@@ -1012,6 +1036,7 @@
|
||||
#{logicCard,jdbcType=VARCHAR},
|
||||
#{vinCode,jdbcType=VARCHAR},
|
||||
#{startMode,jdbcType=VARCHAR},
|
||||
#{thirdPartyType,jdbcType=VARCHAR},
|
||||
#{payMode,jdbcType=VARCHAR},
|
||||
#{payStatus,jdbcType=VARCHAR},
|
||||
#{payAmount,jdbcType=DECIMAL},
|
||||
@@ -1054,6 +1079,7 @@
|
||||
logic_card = #{logicCard,jdbcType=VARCHAR},
|
||||
vin_code = #{vinCode,jdbcType=VARCHAR},
|
||||
start_mode = #{startMode,jdbcType=VARCHAR},
|
||||
third_party_type = #{thirdPartyType,jdbcType=VARCHAR},
|
||||
pay_mode = #{payMode,jdbcType=VARCHAR},
|
||||
pay_status = #{payStatus,jdbcType=VARCHAR},
|
||||
pay_amount = #{payAmount,jdbcType=DECIMAL},
|
||||
@@ -1123,6 +1149,9 @@
|
||||
<if test="startMode != null">
|
||||
start_mode,
|
||||
</if>
|
||||
<if test="thirdPartyType != null">
|
||||
third_party_type,
|
||||
</if>
|
||||
<if test="payMode != null">
|
||||
pay_mode,
|
||||
</if>
|
||||
@@ -1237,6 +1266,9 @@
|
||||
<if test="startMode != null">
|
||||
#{startMode,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="thirdPartyType != null">
|
||||
#{thirdPartyType,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="payMode != null">
|
||||
#{payMode,jdbcType=VARCHAR},
|
||||
</if>
|
||||
@@ -1351,6 +1383,9 @@
|
||||
<if test="startMode != null">
|
||||
start_mode = #{startMode,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="thirdPartyType != null">
|
||||
third_party_type = #{thirdPartyType,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="payMode != null">
|
||||
pay_mode = #{payMode,jdbcType=VARCHAR},
|
||||
</if>
|
||||
@@ -1747,6 +1782,9 @@
|
||||
<if test="startMode != null">
|
||||
start_mode,
|
||||
</if>
|
||||
<if test="thirdPartyType != null">
|
||||
third_party_type,
|
||||
</if>
|
||||
<if test="payMode != null">
|
||||
pay_mode,
|
||||
</if>
|
||||
@@ -1851,6 +1889,9 @@
|
||||
<if test="startMode != null">
|
||||
#{startMode},
|
||||
</if>
|
||||
<if test="thirdPartyType != null">
|
||||
#{thirdPartyType},
|
||||
</if>
|
||||
<if test="payMode != null">
|
||||
#{payMode},
|
||||
</if>
|
||||
@@ -1956,6 +1997,9 @@
|
||||
<if test="startMode != null">
|
||||
start_mode = #{startMode},
|
||||
</if>
|
||||
<if test="thirdPartyType != null">
|
||||
third_party_type = #{thirdPartyType},
|
||||
</if>
|
||||
<if test="payMode != null">
|
||||
pay_mode = #{payMode},
|
||||
</if>
|
||||
|
||||
Reference in New Issue
Block a user