# update 权限相关
This commit is contained in:
@@ -96,7 +96,7 @@ public class DeviceThreadService {
|
||||
String[] parts = k.split(":");
|
||||
String deviceId = parts[1];
|
||||
NettyDevice slaveDevice = sessionManager.getDevice(deviceId);
|
||||
if (slaveDevice != null && slaveDevice.isOnline()) {
|
||||
if (slaveDevice != null && slaveDevice.getOnlineStatus() == 1) {
|
||||
Long siteId = slaveDevice.getDevice().getSiteId();
|
||||
Long orgId = slaveDevice.getDevice().getOrgId();
|
||||
log.debug("compare siteId:{},orgId:{}", siteId, orgId);
|
||||
|
||||
Reference in New Issue
Block a user