mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-07 11:29:58 +08:00
ordeBasicInfo表新增 停止原因码 字段
This commit is contained in:
@@ -175,6 +175,11 @@ public class OrderBasicInfo {
|
|||||||
*/
|
*/
|
||||||
private String endSoc;
|
private String endSoc;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 停止原因码
|
||||||
|
*/
|
||||||
|
private String stopReasonCode;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 异常原因
|
* 异常原因
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -36,6 +36,7 @@
|
|||||||
<result column="reserved_end_time" jdbcType="TIMESTAMP" property="reservedEndTime" />
|
<result column="reserved_end_time" jdbcType="TIMESTAMP" property="reservedEndTime" />
|
||||||
<result column="start_soc" jdbcType="VARCHAR" property="startSoc" />
|
<result column="start_soc" jdbcType="VARCHAR" property="startSoc" />
|
||||||
<result column="end_soc" jdbcType="VARCHAR" property="endSoc" />
|
<result column="end_soc" jdbcType="VARCHAR" property="endSoc" />
|
||||||
|
<result column="stop_reason_code" jdbcType="VARCHAR" property="stopReasonCode" />
|
||||||
<result column="reason" jdbcType="VARCHAR" property="reason" />
|
<result column="reason" jdbcType="VARCHAR" property="reason" />
|
||||||
<result column="settlement_time" jdbcType="TIMESTAMP" property="settlementTime" />
|
<result column="settlement_time" jdbcType="TIMESTAMP" property="settlementTime" />
|
||||||
<result column="refund_amount" jdbcType="DECIMAL" property="refundAmount" />
|
<result column="refund_amount" jdbcType="DECIMAL" property="refundAmount" />
|
||||||
@@ -52,7 +53,7 @@
|
|||||||
pile_sn, connector_code, pile_connector_code, logic_card, vin_code, start_mode, third_party_type,
|
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, plate_number, order_amount, virtual_amount,
|
||||||
group_code, discount_amount, settle_amount, remedial_amount, charge_start_time, charge_end_time,
|
group_code, discount_amount, settle_amount, remedial_amount, charge_start_time, charge_end_time,
|
||||||
start_type, reserved_start_time, reserved_end_time, start_soc, end_soc, reason, settlement_time, refund_amount,
|
start_type, reserved_start_time, reserved_end_time, start_soc, end_soc, stop_reason_code, reason, settlement_time, refund_amount,
|
||||||
refund_status, create_by, create_time, update_by, update_time, del_flag
|
refund_status, create_by, create_time, update_by, update_time, del_flag
|
||||||
</sql>
|
</sql>
|
||||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||||
@@ -79,7 +80,7 @@
|
|||||||
discount_amount, settle_amount, remedial_amount,
|
discount_amount, settle_amount, remedial_amount,
|
||||||
charge_start_time, charge_end_time, start_type,
|
charge_start_time, charge_end_time, start_type,
|
||||||
reserved_start_time, reserved_end_time,
|
reserved_start_time, reserved_end_time,
|
||||||
start_soc, end_soc,
|
start_soc, end_soc, stop_reason_code,
|
||||||
reason, settlement_time, refund_amount,
|
reason, settlement_time, refund_amount,
|
||||||
refund_status, create_by, create_time,
|
refund_status, create_by, create_time,
|
||||||
update_by, update_time, del_flag
|
update_by, update_time, del_flag
|
||||||
@@ -94,7 +95,7 @@
|
|||||||
#{discountAmount,jdbcType=DECIMAL}, #{settleAmount,jdbcType=DECIMAL}, #{remedialAmount,jdbcType=DECIMAL},
|
#{discountAmount,jdbcType=DECIMAL}, #{settleAmount,jdbcType=DECIMAL}, #{remedialAmount,jdbcType=DECIMAL},
|
||||||
#{chargeStartTime,jdbcType=TIMESTAMP}, #{chargeEndTime,jdbcType=TIMESTAMP}, #{startType,jdbcType=VARCHAR},
|
#{chargeStartTime,jdbcType=TIMESTAMP}, #{chargeEndTime,jdbcType=TIMESTAMP}, #{startType,jdbcType=VARCHAR},
|
||||||
#{reservedStartTime,jdbcType=TIMESTAMP},#{reservedEndTime,jdbcType=TIMESTAMP},
|
#{reservedStartTime,jdbcType=TIMESTAMP},#{reservedEndTime,jdbcType=TIMESTAMP},
|
||||||
#{startSoc,jdbcType=VARCHAR}, #{endSoc,jdbcType=VARCHAR},
|
#{startSoc,jdbcType=VARCHAR}, #{endSoc,jdbcType=VARCHAR}, #{stopReasonCode,jdbcType=VARCHAR},
|
||||||
#{reason,jdbcType=VARCHAR}, #{settlementTime,jdbcType=TIMESTAMP}, #{refundAmount,jdbcType=DECIMAL},
|
#{reason,jdbcType=VARCHAR}, #{settlementTime,jdbcType=TIMESTAMP}, #{refundAmount,jdbcType=DECIMAL},
|
||||||
#{refundStatus,jdbcType=VARCHAR}, #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
|
#{refundStatus,jdbcType=VARCHAR}, #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
|
||||||
#{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{delFlag,jdbcType=CHAR}
|
#{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{delFlag,jdbcType=CHAR}
|
||||||
@@ -197,6 +198,9 @@
|
|||||||
<if test="endSoc != null">
|
<if test="endSoc != null">
|
||||||
end_soc,
|
end_soc,
|
||||||
</if>
|
</if>
|
||||||
|
<if test="stopReasonCode != null">
|
||||||
|
stop_reason_code,,
|
||||||
|
</if>
|
||||||
<if test="reason != null">
|
<if test="reason != null">
|
||||||
reason,
|
reason,
|
||||||
</if>
|
</if>
|
||||||
@@ -319,6 +323,9 @@
|
|||||||
<if test="endSoc != null">
|
<if test="endSoc != null">
|
||||||
#{endSoc,jdbcType=VARCHAR},
|
#{endSoc,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="stopReasonCode != null">
|
||||||
|
#{stopReasonCode,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
<if test="reason != null">
|
<if test="reason != null">
|
||||||
#{reason,jdbcType=VARCHAR},
|
#{reason,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
@@ -445,6 +452,9 @@
|
|||||||
<if test="endSoc != null">
|
<if test="endSoc != null">
|
||||||
end_soc = #{endSoc,jdbcType=VARCHAR},
|
end_soc = #{endSoc,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="stopReasonCode != null">
|
||||||
|
stop_reason_code = #{stopReasonCode,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
<if test="reason != null">
|
<if test="reason != null">
|
||||||
reason = #{reason,jdbcType=VARCHAR},
|
reason = #{reason,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
@@ -509,6 +519,7 @@
|
|||||||
reserved_end_time = #{reservedEndTime,jdbcType=TIMESTAMP},
|
reserved_end_time = #{reservedEndTime,jdbcType=TIMESTAMP},
|
||||||
start_soc = #{startSoc,jdbcType=VARCHAR},
|
start_soc = #{startSoc,jdbcType=VARCHAR},
|
||||||
end_soc = #{endSoc,jdbcType=VARCHAR},
|
end_soc = #{endSoc,jdbcType=VARCHAR},
|
||||||
|
stop_reason_code = #{stopReasonCode,jdbcType=VARCHAR},
|
||||||
reason = #{reason,jdbcType=VARCHAR},
|
reason = #{reason,jdbcType=VARCHAR},
|
||||||
settlement_time = #{settlementTime,jdbcType=TIMESTAMP},
|
settlement_time = #{settlementTime,jdbcType=TIMESTAMP},
|
||||||
refund_amount = #{refundAmount,jdbcType=DECIMAL},
|
refund_amount = #{refundAmount,jdbcType=DECIMAL},
|
||||||
@@ -679,6 +690,11 @@
|
|||||||
when id = #{item.id,jdbcType=INTEGER} then #{item.endSoc,jdbcType=VARCHAR}
|
when id = #{item.id,jdbcType=INTEGER} then #{item.endSoc,jdbcType=VARCHAR}
|
||||||
</foreach>
|
</foreach>
|
||||||
</trim>
|
</trim>
|
||||||
|
<trim prefix="stop_reason_code = case" suffix="end,">
|
||||||
|
<foreach collection="list" index="index" item="item">
|
||||||
|
when id = #{item.id,jdbcType=INTEGER} then #{item.stopReasonCode,jdbcType=VARCHAR}
|
||||||
|
</foreach>
|
||||||
|
</trim>
|
||||||
<trim prefix="reason = case" suffix="end,">
|
<trim prefix="reason = case" suffix="end,">
|
||||||
<foreach collection="list" index="index" item="item">
|
<foreach collection="list" index="index" item="item">
|
||||||
when id = #{item.id,jdbcType=INTEGER} then #{item.reason,jdbcType=VARCHAR}
|
when id = #{item.id,jdbcType=INTEGER} then #{item.reason,jdbcType=VARCHAR}
|
||||||
@@ -951,6 +967,13 @@
|
|||||||
</if>
|
</if>
|
||||||
</foreach>
|
</foreach>
|
||||||
</trim>
|
</trim>
|
||||||
|
<trim prefix="stop_reason_code = case" suffix="end,">
|
||||||
|
<foreach collection="list" index="index" item="item">
|
||||||
|
<if test="item.stopReasonCode != null">
|
||||||
|
when id = #{item.id,jdbcType=INTEGER} then #{item.stopReasonCode,jdbcType=VARCHAR}
|
||||||
|
</if>
|
||||||
|
</foreach>
|
||||||
|
</trim>
|
||||||
<trim prefix="reason = case" suffix="end,">
|
<trim prefix="reason = case" suffix="end,">
|
||||||
<foreach collection="list" index="index" item="item">
|
<foreach collection="list" index="index" item="item">
|
||||||
<if test="item.reason != null">
|
<if test="item.reason != null">
|
||||||
@@ -1027,7 +1050,7 @@
|
|||||||
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,
|
third_party_type, pay_mode, pay_status, pay_amount, pay_time, plate_number, order_amount,
|
||||||
virtual_amount, group_code, discount_amount, settle_amount, remedial_amount, charge_start_time,
|
virtual_amount, group_code, discount_amount, settle_amount, remedial_amount, charge_start_time,
|
||||||
charge_end_time, start_type, reserved_start_time, reserved_end_time, start_soc, end_soc, reason, settlement_time,
|
charge_end_time, start_type, reserved_start_time, reserved_end_time, start_soc, end_soc, stop_reason_code, reason, settlement_time,
|
||||||
refund_amount, refund_status, create_by, create_time, update_by, update_time, del_flag
|
refund_amount, refund_status, create_by, create_time, update_by, update_time, del_flag
|
||||||
)
|
)
|
||||||
values
|
values
|
||||||
@@ -1043,7 +1066,7 @@
|
|||||||
#{item.remedialAmount,jdbcType=DECIMAL}, #{item.chargeStartTime,jdbcType=TIMESTAMP},
|
#{item.remedialAmount,jdbcType=DECIMAL}, #{item.chargeStartTime,jdbcType=TIMESTAMP},
|
||||||
#{item.chargeEndTime,jdbcType=TIMESTAMP}, #{item.startType,jdbcType=VARCHAR}, #{item.reservedStartTime,jdbcType=TIMESTAMP},
|
#{item.chargeEndTime,jdbcType=TIMESTAMP}, #{item.startType,jdbcType=VARCHAR}, #{item.reservedStartTime,jdbcType=TIMESTAMP},
|
||||||
#{item.reservedEndTime,jdbcType=TIMESTAMP},
|
#{item.reservedEndTime,jdbcType=TIMESTAMP},
|
||||||
#{item.startSoc,jdbcType=VARCHAR}, #{item.endSoc,jdbcType=VARCHAR}, #{item.reason,jdbcType=VARCHAR},
|
#{item.startSoc,jdbcType=VARCHAR}, #{item.endSoc,jdbcType=VARCHAR}, #{item.stopReasonCode,jdbcType=VARCHAR}, #{item.reason,jdbcType=VARCHAR},
|
||||||
#{item.settlementTime,jdbcType=TIMESTAMP}, #{item.refundAmount,jdbcType=DECIMAL},
|
#{item.settlementTime,jdbcType=TIMESTAMP}, #{item.refundAmount,jdbcType=DECIMAL},
|
||||||
#{item.refundStatus,jdbcType=VARCHAR}, #{item.createBy,jdbcType=VARCHAR}, #{item.createTime,jdbcType=TIMESTAMP},
|
#{item.refundStatus,jdbcType=VARCHAR}, #{item.createBy,jdbcType=VARCHAR}, #{item.createTime,jdbcType=TIMESTAMP},
|
||||||
#{item.updateBy,jdbcType=VARCHAR}, #{item.updateTime,jdbcType=TIMESTAMP}, #{item.delFlag,jdbcType=CHAR}
|
#{item.updateBy,jdbcType=VARCHAR}, #{item.updateTime,jdbcType=TIMESTAMP}, #{item.delFlag,jdbcType=CHAR}
|
||||||
@@ -1088,6 +1111,7 @@
|
|||||||
reserved_end_time,
|
reserved_end_time,
|
||||||
start_soc,
|
start_soc,
|
||||||
end_soc,
|
end_soc,
|
||||||
|
stop_reason_code,
|
||||||
reason,
|
reason,
|
||||||
settlement_time,
|
settlement_time,
|
||||||
refund_amount,
|
refund_amount,
|
||||||
@@ -1134,6 +1158,7 @@
|
|||||||
#{reservedEndTime,jdbcType=TIMESTAMP},
|
#{reservedEndTime,jdbcType=TIMESTAMP},
|
||||||
#{startSoc,jdbcType=VARCHAR},
|
#{startSoc,jdbcType=VARCHAR},
|
||||||
#{endSoc,jdbcType=VARCHAR},
|
#{endSoc,jdbcType=VARCHAR},
|
||||||
|
#{stopReasonCode,jdbcType=VARCHAR},
|
||||||
#{reason,jdbcType=VARCHAR},
|
#{reason,jdbcType=VARCHAR},
|
||||||
#{settlementTime,jdbcType=TIMESTAMP},
|
#{settlementTime,jdbcType=TIMESTAMP},
|
||||||
#{refundAmount,jdbcType=DECIMAL},
|
#{refundAmount,jdbcType=DECIMAL},
|
||||||
@@ -1180,6 +1205,7 @@
|
|||||||
reserved_end_time = #{reservedEndTime,jdbcType=TIMESTAMP},
|
reserved_end_time = #{reservedEndTime,jdbcType=TIMESTAMP},
|
||||||
start_soc = #{startSoc,jdbcType=VARCHAR},
|
start_soc = #{startSoc,jdbcType=VARCHAR},
|
||||||
end_soc = #{endSoc,jdbcType=VARCHAR},
|
end_soc = #{endSoc,jdbcType=VARCHAR},
|
||||||
|
stop_reason_code = {stopReasonCode,jdbcType=VARCHAR},
|
||||||
reason = #{reason,jdbcType=VARCHAR},
|
reason = #{reason,jdbcType=VARCHAR},
|
||||||
settlement_time = #{settlementTime,jdbcType=TIMESTAMP},
|
settlement_time = #{settlementTime,jdbcType=TIMESTAMP},
|
||||||
refund_amount = #{refundAmount,jdbcType=DECIMAL},
|
refund_amount = #{refundAmount,jdbcType=DECIMAL},
|
||||||
@@ -1291,6 +1317,9 @@
|
|||||||
<if test="endSoc != null">
|
<if test="endSoc != null">
|
||||||
end_soc,
|
end_soc,
|
||||||
</if>
|
</if>
|
||||||
|
<if test="stopReasonCode != null">
|
||||||
|
stop_reason_code,
|
||||||
|
</if>
|
||||||
<if test="reason != null">
|
<if test="reason != null">
|
||||||
reason,
|
reason,
|
||||||
</if>
|
</if>
|
||||||
@@ -1417,6 +1446,9 @@
|
|||||||
<if test="endSoc != null">
|
<if test="endSoc != null">
|
||||||
#{endSoc,jdbcType=VARCHAR},
|
#{endSoc,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="stopReasonCode != null">
|
||||||
|
#{stopReasonCode,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
<if test="reason != null">
|
<if test="reason != null">
|
||||||
#{reason,jdbcType=VARCHAR},
|
#{reason,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
@@ -1543,6 +1575,9 @@
|
|||||||
<if test="endSoc != null">
|
<if test="endSoc != null">
|
||||||
end_soc = #{endSoc,jdbcType=VARCHAR},
|
end_soc = #{endSoc,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="stopReasonCode != null">
|
||||||
|
stop_reason_code = #{stopReasonCode,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
<if test="reason != null">
|
<if test="reason != null">
|
||||||
reason = #{reason,jdbcType=VARCHAR},
|
reason = #{reason,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
@@ -1949,6 +1984,9 @@
|
|||||||
<if test="endSoc != null">
|
<if test="endSoc != null">
|
||||||
end_soc,
|
end_soc,
|
||||||
</if>
|
</if>
|
||||||
|
<if test="stopReasonCode != null">
|
||||||
|
stop_reason_code,
|
||||||
|
</if>
|
||||||
<if test="reason != null">
|
<if test="reason != null">
|
||||||
reason,
|
reason,
|
||||||
</if>
|
</if>
|
||||||
@@ -2059,6 +2097,9 @@
|
|||||||
<if test="endSoc != null">
|
<if test="endSoc != null">
|
||||||
#{endSoc},
|
#{endSoc},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="stopReasonCode != null">
|
||||||
|
#{stopReasonCode},
|
||||||
|
</if>
|
||||||
<if test="reason != null">
|
<if test="reason != null">
|
||||||
#{reason},
|
#{reason},
|
||||||
</if>
|
</if>
|
||||||
@@ -2170,6 +2211,9 @@
|
|||||||
<if test="endSoc != null">
|
<if test="endSoc != null">
|
||||||
end_soc = #{endSoc},
|
end_soc = #{endSoc},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="stopReasonCode != null">
|
||||||
|
stop_reason_code = #{stopReasonCode},
|
||||||
|
</if>
|
||||||
<if test="reason != null">
|
<if test="reason != null">
|
||||||
reason = #{reason},
|
reason = #{reason},
|
||||||
</if>
|
</if>
|
||||||
|
|||||||
Reference in New Issue
Block a user