Browse Source

时间格式化

dev
yinzuomei 4 years ago
parent
commit
8a0f40a238
  1. 4
      epmet-module/epmet-heart/epmet-heart-client/src/main/java/com/epmet/dto/result/demand/DemandRecExcelResultDTO.java

4
epmet-module/epmet-heart/epmet-heart-client/src/main/java/com/epmet/dto/result/demand/DemandRecExcelResultDTO.java

@ -30,7 +30,7 @@ public class DemandRecExcelResultDTO implements Serializable {
@Excel(name = "上报人", width = 20)
private String reportUserName;
@Excel(name = "上报时间", width = 25)
@Excel(name = "上报时间", width = 25,format ="yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date reportTime;
@ -46,7 +46,7 @@ public class DemandRecExcelResultDTO implements Serializable {
@Excel(name = "服务方", width = 15)
private String serviceShowName;
@Excel(name = "服务时间", width = 25)
@Excel(name = "服务时间", width = 25,format ="yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date wantServiceTime;
}

Loading…
Cancel
Save