mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-14 06:50:09 +08:00
订单主表新增虚拟金额和结算金额字段
This commit is contained in:
@@ -123,9 +123,21 @@ public class OrderBasicInfo extends BaseEntity {
|
|||||||
/**
|
/**
|
||||||
* 订单总金额 = 电费总金额 + 服务费总金额
|
* 订单总金额 = 电费总金额 + 服务费总金额
|
||||||
*/
|
*/
|
||||||
@Excel(name = "订单总金额 = 电费总金额 + 服务费总金额")
|
@Excel(name = "订单总金额")
|
||||||
private BigDecimal orderAmount;
|
private BigDecimal orderAmount;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 虚拟金额
|
||||||
|
*/
|
||||||
|
@Excel(name = "虚拟金额")
|
||||||
|
private BigDecimal virtualAmount;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 结算金额
|
||||||
|
*/
|
||||||
|
@Excel(name = "结算金额")
|
||||||
|
private BigDecimal settleAmount;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 充电开始时间
|
* 充电开始时间
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -20,6 +20,8 @@
|
|||||||
<result property="payAmount" column="pay_amount"/>
|
<result property="payAmount" column="pay_amount"/>
|
||||||
<result property="payTime" column="pay_time"/>
|
<result property="payTime" column="pay_time"/>
|
||||||
<result property="orderAmount" column="order_amount"/>
|
<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="chargeStartTime" column="charge_start_time"/>
|
||||||
<result property="chargeEndTime" column="charge_end_time"/>
|
<result property="chargeEndTime" column="charge_end_time"/>
|
||||||
<result property="startType" column="start_type"/>
|
<result property="startType" column="start_type"/>
|
||||||
@@ -98,6 +100,8 @@
|
|||||||
pay_amount,
|
pay_amount,
|
||||||
pay_time,
|
pay_time,
|
||||||
order_amount,
|
order_amount,
|
||||||
|
virtual_amount,
|
||||||
|
settle_amount,
|
||||||
charge_start_time,
|
charge_start_time,
|
||||||
charge_end_time,
|
charge_end_time,
|
||||||
start_type,
|
start_type,
|
||||||
@@ -320,6 +324,12 @@
|
|||||||
<if test="orderAmount != null">
|
<if test="orderAmount != null">
|
||||||
order_amount,
|
order_amount,
|
||||||
</if>
|
</if>
|
||||||
|
<if test="virtualAmount != null">
|
||||||
|
virtual_amount,
|
||||||
|
</if>
|
||||||
|
<if test="settleAmount != null">
|
||||||
|
settle_amount,
|
||||||
|
</if>
|
||||||
<if test="chargeStartTime != null">
|
<if test="chargeStartTime != null">
|
||||||
charge_start_time,
|
charge_start_time,
|
||||||
</if>
|
</if>
|
||||||
@@ -499,6 +509,12 @@
|
|||||||
<if test="orderAmount != null">
|
<if test="orderAmount != null">
|
||||||
order_amount = #{orderAmount},
|
order_amount = #{orderAmount},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="virtualAmount != null">
|
||||||
|
virtual_amount = #{virtualAmount},
|
||||||
|
</if>
|
||||||
|
<if test="settleAmount != null">
|
||||||
|
settle_amount = #{settleAmount},
|
||||||
|
</if>
|
||||||
<if test="chargeStartTime != null">
|
<if test="chargeStartTime != null">
|
||||||
charge_start_time = #{chargeStartTime},
|
charge_start_time = #{chargeStartTime},
|
||||||
</if>
|
</if>
|
||||||
|
|||||||
@@ -208,7 +208,9 @@
|
|||||||
<el-table-column label="终止soc" align="center" prop="endSoc" />
|
<el-table-column label="终止soc" align="center" prop="endSoc" />
|
||||||
<el-table-column label="开始充电时间" align="center" prop="chargeStartTime" width="180"/>
|
<el-table-column label="开始充电时间" align="center" prop="chargeStartTime" width="180"/>
|
||||||
<el-table-column label="结束充电时间" align="center" prop="chargeEndTime" width="180"/>
|
<el-table-column label="结束充电时间" align="center" prop="chargeEndTime" width="180"/>
|
||||||
<el-table-column label="订单总金额" align="center" prop="orderAmount" width="100px" fixed="right"/>
|
<el-table-column label="总消费金额" align="center" prop="orderAmount" width="100px" fixed="right"/>
|
||||||
|
<el-table-column label="虚拟金额" align="center" prop="orderAmount" width="100px" fixed="right"/>
|
||||||
|
<el-table-column label="对账金额" align="center" prop="orderAmount" width="100px" fixed="right"/>
|
||||||
<!--<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
<!--<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button
|
||||||
|
|||||||
Reference in New Issue
Block a user