mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-19 18:45:03 +08:00
订单主表加字段 启动类型 预约时间
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
package com.jsowell.common.enums.ykc;
|
||||
|
||||
/**
|
||||
* 启动类型enum
|
||||
*/
|
||||
public enum StartTypeEnum {
|
||||
|
||||
NOW("now", "立即启动"),
|
||||
APPOINTMENT("appointment", "预约启动"),
|
||||
|
||||
;
|
||||
|
||||
private String value;
|
||||
private String label;
|
||||
|
||||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public void setValue(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public String getLabel() {
|
||||
return label;
|
||||
}
|
||||
|
||||
public void setLabel(String label) {
|
||||
this.label = label;
|
||||
}
|
||||
|
||||
StartTypeEnum(String value, String label) {
|
||||
this.value = value;
|
||||
this.label = label;
|
||||
}
|
||||
}
|
||||
@@ -130,6 +130,16 @@ public class OrderBasicInfo extends BaseEntity {
|
||||
*/
|
||||
private Date chargeEndTime;
|
||||
|
||||
/**
|
||||
* 启动类型
|
||||
*/
|
||||
private String startType;
|
||||
|
||||
/**
|
||||
* 预约时间
|
||||
*/
|
||||
private Date appointmentTime;
|
||||
|
||||
/**
|
||||
* 开始SOC
|
||||
*/
|
||||
|
||||
@@ -21,6 +21,8 @@
|
||||
<result property="orderAmount" column="order_amount"/>
|
||||
<result property="chargeStartTime" column="charge_start_time"/>
|
||||
<result property="chargeEndTime" column="charge_end_time"/>
|
||||
<result property="startType" column="start_type"/>
|
||||
<result property="appointmentTime" column="appointment_time"/>
|
||||
<result property="startSOC" column="start_soc"/>
|
||||
<result property="endSOC" column="end_soc"/>
|
||||
<result property="reason" column="reason"/>
|
||||
@@ -96,6 +98,8 @@
|
||||
order_amount,
|
||||
charge_start_time,
|
||||
charge_end_time,
|
||||
start_type,
|
||||
appointment_time,
|
||||
start_soc,
|
||||
end_soc,
|
||||
reason,
|
||||
@@ -316,6 +320,12 @@
|
||||
<if test="chargeEndTime != null">
|
||||
charge_end_time,
|
||||
</if>
|
||||
<if test="startType != null">
|
||||
start_type,
|
||||
</if>
|
||||
<if test="appointmentTime != null">
|
||||
appointment_time,
|
||||
</if>
|
||||
<if test="startSOC != null">
|
||||
start_soc,
|
||||
</if>
|
||||
@@ -396,6 +406,12 @@
|
||||
<if test="chargeEndTime != null">
|
||||
#{chargeEndTime},
|
||||
</if>
|
||||
<if test="startType != null">
|
||||
#{startType},
|
||||
</if>
|
||||
<if test="appointmentTime != null">
|
||||
#{appointmentTime},
|
||||
</if>
|
||||
<if test="startSOC != null">
|
||||
#{startSOC},
|
||||
</if>
|
||||
@@ -477,6 +493,12 @@
|
||||
<if test="chargeEndTime != null">
|
||||
charge_end_time = #{chargeEndTime},
|
||||
</if>
|
||||
<if test="startType != null">
|
||||
start_type = #{startType},
|
||||
</if>
|
||||
<if test="appointmentTime != null">
|
||||
appointment_time = #{appointmentTime},
|
||||
</if>
|
||||
<if test="startSOC != null">
|
||||
start_soc = #{startSOC},
|
||||
</if>
|
||||
|
||||
Reference in New Issue
Block a user