|
|
@@ -388,10 +388,8 @@ public class YfQxzDeviceImpl extends DeviceAbstractImpl implements IYfQxzDevice
|
|
|
newIotDevice.setDevOfflinedate(devUpdateddate);
|
|
|
}else if("online".equalsIgnoreCase(cmd)){
|
|
|
newIotDevice.setDevStatus("1");
|
|
|
-
|
|
|
+ newIotDevice.setDevUpdateddate(devUpdateddate);
|
|
|
}
|
|
|
- newIotDevice.setDevUpdateddate(devUpdateddate);
|
|
|
-
|
|
|
iIotDeviceService.updateIotDevice(newIotDevice);
|
|
|
// 主动进行查询,以确保不是误判离线
|
|
|
|