南瑞平台 controller类 并测试

This commit is contained in:
Lemon
2023-10-12 09:14:13 +08:00
parent aef44dcce9
commit 192cf56e84
11 changed files with 162 additions and 67 deletions

View File

@@ -25,42 +25,42 @@ public class QueryStationInfoDTO {
* 不填写,则查询所有的充电站信息
*/
@JsonProperty(value = "LastQueryTime")
private String LastQueryTime;
private String lastQueryTime;
/**
* 查询页码
* 不填写默认为 1
*/
@JsonProperty(value = "PageNo")
private Integer PageNo;
private Integer pageNo;
/**
* 每页数量
* 不填写默认为 10
*/
@JsonProperty(value = "PageSize")
private Integer PageSize;
private Integer pageSize;
/**
* 充电站 ID
*/
@JsonProperty(value = "StationID")
private String StationID;
private String stationID;
/**
* 统计开始时间
* 格式“yyyy-MM-dd”
*/
@JsonProperty(value = "StartTime")
private String StartTime;
private String startTime;
/**
* 统计结束时间
* 格式“yyyy-MM-dd”
*/
@JsonProperty(value = "EndTime")
private String EndTime;
private String endTime;
/**
* 运营商id

View File

@@ -1,6 +1,7 @@
package com.jsowell.pile.dto.nanrui;
import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
/**
@@ -17,12 +18,12 @@ public class NRQueryOrderDTO {
/**
* yyyy-MM-dd HH:mm:ss 格式,必填,以充电结束时间为准
*/
@JSONField(name = "QueryStartTime")
@JsonProperty(value = "QueryStartTime")
private String queryStartTime;
/**
* yyyy-MM-dd HH:mm:ss 格式,必填,以充电结束时间为准
*/
@JSONField(name = "QueryEndTime")
@JsonProperty(value = "QueryEndTime")
private String queryEndTime;
}