10.31预警信息的时间格式修改

dev
xiaohuo 8 months ago
parent 71e198a1c4
commit 36a83036d6
  1. 8
      ALOps_sys_backend/alops-system/src/main/java/com/alops/system/domain/AlertMessage.java

@ -50,8 +50,8 @@ public class AlertMessage
private Long level; private Long level;
/** 发生时间 */ /** 发生时间 */
@JsonFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "发生时间", width = 30, dateFormat = "yyyy-MM-dd") @Excel(name = "添加日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date occurTime; private Date occurTime;
@ -61,8 +61,8 @@ public class AlertMessage
private String handler; private String handler;
/** 解决时间 */ /** 解决时间 */
@JsonFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "解决时间", width = 30, dateFormat = "yyyy-MM-dd") @Excel(name = "添加日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date handleTime; private Date handleTime;
/** 处理状态(open、in_progress_closed) */ /** 处理状态(open、in_progress_closed) */

Loading…
Cancel
Save