增加日志
parent
84c60381cc
commit
7bfa85424a
|
@ -134,6 +134,7 @@ public class DeviceServiceImpl implements IDeviceService {
|
|||
// TODO 如果设备下的通道级联到了其他平台,那么需要发送事件或者notify给上级平台
|
||||
}else {
|
||||
if (deviceChannelMapper.queryAllChannels(device.getDeviceId()).size() == 0) {
|
||||
logger.info("[设备上线]: {},通道数为0,查询通道信息", device.getDeviceId());
|
||||
sync(device);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue