1.国网上送接口,映射修改

2.解决上送时间问题
This commit is contained in:
wr
2023-12-26 17:08:58 +08:00
parent 049ec86f5e
commit fc20579051
7 changed files with 18 additions and 18 deletions

View File

@@ -138,12 +138,12 @@ public class OtherUserDto {
* 创建时间 是否必填:否
*/
@ExcelProperty(value = "创建时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDateTime createTime;
/**
* 更新时间 是否必填:否
*/
@ExcelProperty(value = "更新时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDateTime updateTime;
}

View File

@@ -128,13 +128,13 @@ public class PhotovoltaicDto extends Unit {
* 创建时间 是否必填:
*/
@ExcelProperty(value = "创建时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDateTime createTime;
/**
* 更新时间 是否必填:
*/
@ExcelProperty(value = "更新时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDateTime updateTime;

View File

@@ -146,11 +146,11 @@ public class SensitiveUserDto extends Unit {
private String runStatus;
/*创建时间 是否必填:*/
@ExcelProperty(value = "创建时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDateTime createTime;
/*更新时间 是否必填:*/
@ExcelProperty(value = "更新时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDateTime updateTime;

View File

@@ -122,6 +122,6 @@ public class TractionStationDTO extends Unit {
private String runStatus;
/*更新时间 是否必填:否*/
@ExcelProperty(value = "更新时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDateTime updateTime;
}

View File

@@ -117,12 +117,12 @@ public class WindSourceDto extends Unit {
private String runStatus;
@ApiModelProperty(name = "createTime", value = "创建时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd")
@ExcelProperty(value = "创建时间")
private LocalDateTime createTime;
@ApiModelProperty(name = "updateTime", value = "更新时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd")
@ExcelProperty(value = "更新时间")
private LocalDateTime updateTime;
}