Commit 7bfa85424ae1b65b8f29b568da5d2745719443a1
1 parent
84c60381
增加日志
Showing
1 changed file
with
1 additions
and
0 deletions
src/main/java/com/genersoft/iot/vmp/service/impl/DeviceServiceImpl.java
| ... | ... | @@ -134,6 +134,7 @@ public class DeviceServiceImpl implements IDeviceService { |
| 134 | 134 | // TODO 如果设备下的通道级联到了其他平台,那么需要发送事件或者notify给上级平台 |
| 135 | 135 | }else { |
| 136 | 136 | if (deviceChannelMapper.queryAllChannels(device.getDeviceId()).size() == 0) { |
| 137 | + logger.info("[设备上线]: {},通道数为0,查询通道信息", device.getDeviceId()); | |
| 137 | 138 | sync(device); |
| 138 | 139 | } |
| 139 | 140 | ... | ... |