This commit is contained in:
邱贞招 2024-10-30 16:28:18 +08:00
parent 9b7a05ddf0
commit 33a327fb0c

View File

@ -812,7 +812,9 @@ public class EtTask {
if(onenetStatus != onlineStatus ){
AsDevice device = new AsDevice();
device.setMac(deviceVO.getMac());
device.setOnlineStatus(onenetStatus+"");
if(onenetStatus!=2){
device.setOnlineStatus(onenetStatus+"");
}
int i = asDeviceMapper.updateAsDeviceByMac(device);
log.info("【定时--更新设备的在线状态】===>更新设备状态结果:【{}】",i);
}