update 修改充电桩信息

This commit is contained in:
Guoqs
2024-07-01 09:56:47 +08:00
parent 2dae775247
commit 74283d5ab0
9 changed files with 133 additions and 82 deletions

View File

@@ -8,6 +8,7 @@ import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;
import java.math.BigDecimal;
import java.time.LocalTime;
import java.util.Date;
/**
@@ -40,18 +41,43 @@ public class ReservationChargingCommand {
private String operation;
/**
* 开始时间
* 预约类型
* 0x00:单次0x01:周期
*/
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date reservedStartTime;
private String reservationType;
/**
* vin1
*/
private String vin1;
/**
* vin2
*/
private String vin2;
/**
* vin3
*/
private String vin3;
/**
* 开始时间
* 2024年6月28日15点21分 改为时分秒
*/
// @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
// @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
// private Date reservedStartTime;
private LocalTime reservedStartTime;
/**
* 结束时间
* 2024年6月28日15点21分 改为时分秒
*/
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date reservedEndTime;
// @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
// @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
// private Date reservedEndTime;
private LocalTime reservedEndTime;
/**
* 启动金额