微调
This commit is contained in:
parent
9b7a05ddf0
commit
33a327fb0c
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user