修复保存设备信息接口bug,修改流量计设备上报时间字段返回格式

This commit is contained in:
蒾酒
2024-12-30 09:51:24 +08:00
parent 3609325df8
commit aa97a61285
2 changed files with 11 additions and 2 deletions

View File

@ -43,7 +43,7 @@ private static final long serialVersionUID = 1L;
/** 实时时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "实时时间", width = 30, dateFormat = "yyyy-MM-dd")
@Excel(name = "实时时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty("实时时间")
private Date realTime;
@ -54,7 +54,7 @@ private static final long serialVersionUID = 1L;
/** 保存时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "保存时间", width = 30, dateFormat = "yyyy-MM-dd")
@Excel(name = "保存时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty("保存时间")
private Date saveTime;