0
0

设备告警

This commit is contained in:
2025-08-29 18:58:16 +08:00
parent e17a64ad57
commit d66fb7d2c2
8 changed files with 35 additions and 34 deletions

View File

@ -153,6 +153,7 @@ public class Device extends TenantEntity {
*/
@Schema(title = "出厂日期")
private Date productionDate;
/**
* 在线状态(0离线1在线)
*/

View File

@ -88,7 +88,7 @@ public class DeviceAlarm extends TenantEntity {
/**
* 报警持续时间
*/
private Date durationTime;
private Long durationTime;
/**
* 0已处理1未处理

View File

@ -99,15 +99,13 @@ public class DeviceAlarmBo extends BaseEntity {
/**
* 报警持续时间
*/
private Date durationTime;
private Long durationTime;
/**
* 报警查询时间
*/
private Date queryTime1;
private Date queryTime2;
private String queryTime1;
private String queryTime2;
/**
* 0已处理1未处理

View File

@ -54,10 +54,12 @@ public class DeviceAlarmVo implements Serializable {
*/
@ExcelProperty(value = "设备名称")
private String deviceName;
/**
* 设备MAC
*/
private String deviceMac;
/**
* 设备IMEI
*/
@ -116,13 +118,13 @@ public class DeviceAlarmVo implements Serializable {
* 报警持续时间
*/
@ExcelProperty(value = "报警持续时间")
private Date durationTime;
private Long durationTime;
/**
* 0已处理1未处理
*/
@ExcelProperty(value = "0已处理1未处理")
private Long treatmentState;
private Integer treatmentState;
}