处理 设备在线 发消息
This commit is contained in:
@@ -59,7 +59,7 @@ public class SysDevicesDTO implements Serializable {
|
||||
/**
|
||||
* 在线状态:0 离线,1 在线
|
||||
*/
|
||||
private Integer unlineStatus;
|
||||
private Integer onlineStatus;
|
||||
|
||||
/**
|
||||
* 最后上线时间
|
||||
|
||||
@@ -29,7 +29,7 @@ public class SysDevicesPageDTO {
|
||||
/**
|
||||
* 在线状态:0 离线,1 在线
|
||||
*/
|
||||
private Integer unlineStatus;
|
||||
private Integer onlineStatus;
|
||||
|
||||
/**
|
||||
* 页码
|
||||
|
||||
@@ -2,6 +2,7 @@ package com.czg.system.entity;
|
||||
|
||||
import com.mybatisflex.annotation.Column;
|
||||
import com.mybatisflex.annotation.Id;
|
||||
import com.mybatisflex.annotation.KeyType;
|
||||
import com.mybatisflex.annotation.Table;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
@@ -32,7 +33,7 @@ public class SysDevices implements Serializable {
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@Id
|
||||
@Id(keyType = KeyType.Auto)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
@@ -53,7 +54,7 @@ public class SysDevices implements Serializable {
|
||||
/**
|
||||
* 在线状态:0 离线,1 在线
|
||||
*/
|
||||
private Integer unlineStatus;
|
||||
private Integer onlineStatus;
|
||||
|
||||
/**
|
||||
* 最后上线时间
|
||||
|
||||
@@ -20,5 +20,7 @@ public interface SysDevicesService extends IService<SysDevices> {
|
||||
|
||||
Long deleteDevice(Long id);
|
||||
|
||||
Page<SysDevicesDTO> queryDevice(SysDevicesPageDTO reqDTO);
|
||||
Page<SysDevicesDTO> queryDevicePage(SysDevicesPageDTO reqDTO);
|
||||
|
||||
void updateDeviceOnlineStatus(String sn, Integer online);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user