mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-03 09:29:59 +08:00
订单主表新增虚拟金额和结算金额字段
This commit is contained in:
@@ -123,9 +123,21 @@ public class OrderBasicInfo extends BaseEntity {
|
||||
/**
|
||||
* 订单总金额 = 电费总金额 + 服务费总金额
|
||||
*/
|
||||
@Excel(name = "订单总金额 = 电费总金额 + 服务费总金额")
|
||||
@Excel(name = "订单总金额")
|
||||
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="payTime" column="pay_time"/>
|
||||
<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="chargeEndTime" column="charge_end_time"/>
|
||||
<result property="startType" column="start_type"/>
|
||||
@@ -98,6 +100,8 @@
|
||||
pay_amount,
|
||||
pay_time,
|
||||
order_amount,
|
||||
virtual_amount,
|
||||
settle_amount,
|
||||
charge_start_time,
|
||||
charge_end_time,
|
||||
start_type,
|
||||
@@ -320,6 +324,12 @@
|
||||
<if test="orderAmount != null">
|
||||
order_amount,
|
||||
</if>
|
||||
<if test="virtualAmount != null">
|
||||
virtual_amount,
|
||||
</if>
|
||||
<if test="settleAmount != null">
|
||||
settle_amount,
|
||||
</if>
|
||||
<if test="chargeStartTime != null">
|
||||
charge_start_time,
|
||||
</if>
|
||||
@@ -499,6 +509,12 @@
|
||||
<if test="orderAmount != null">
|
||||
order_amount = #{orderAmount},
|
||||
</if>
|
||||
<if test="virtualAmount != null">
|
||||
virtual_amount = #{virtualAmount},
|
||||
</if>
|
||||
<if test="settleAmount != null">
|
||||
settle_amount = #{settleAmount},
|
||||
</if>
|
||||
<if test="chargeStartTime != null">
|
||||
charge_start_time = #{chargeStartTime},
|
||||
</if>
|
||||
|
||||
@@ -208,7 +208,9 @@
|
||||
<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="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">
|
||||
<template slot-scope="scope">
|
||||
<el-button
|
||||
|
||||
Reference in New Issue
Block a user