设备日志改进

This commit is contained in:
kerwincui
2022-06-11 16:41:19 +08:00
parent 33a7ba9645
commit eeac05745f
9 changed files with 80 additions and 39 deletions

View File

@@ -47,9 +47,13 @@ public class DeviceLog extends BaseEntity
private String identity;
/** 是否监测数据1=是0=否) */
@Excel(name = "是否监测数据", readConverterExp = "1==0=否")
@Excel(name = "是否监测数据", readConverterExp = "1=是0=否")
private Integer isMonitor;
/** 模式 */
@Excel(name = "模式", readConverterExp = "1=影子模式2=在线模式,3=其他")
private Integer mode;
/** 用户ID */
@Excel(name = "用户ID")
private Long userId;
@@ -66,6 +70,14 @@ public class DeviceLog extends BaseEntity
@Excel(name = "租户名称")
private String tenantName;
public Integer getMode() {
return mode;
}
public void setMode(Integer mode) {
this.mode = mode;
}
public Long getUserId() {
return userId;
}