添加日志
This commit is contained in:
parent
135402e725
commit
22f18ebbe5
|
|
@ -69,6 +69,9 @@ public class TuohengBufferDeviceImpl implements IBufferDeviceService {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
log.info("Dock对象详细信息: dockId={}, cabinVideoUrl={}, outsideVideoUrl={}, liveVideoUrl={}",
|
||||||
|
dock.getDockId(), dock.getCabinVideoUrl(), dock.getOutsideVideoUrl(), dock.getLiveVideoUrl());
|
||||||
|
|
||||||
// 查询设备信息
|
// 查询设备信息
|
||||||
Device device = deviceDomain.selectDeviceByDeviceId(dock.getDeviceId());
|
Device device = deviceDomain.selectDeviceByDeviceId(dock.getDeviceId());
|
||||||
if (device == null) {
|
if (device == null) {
|
||||||
|
|
@ -91,6 +94,9 @@ public class TuohengBufferDeviceImpl implements IBufferDeviceService {
|
||||||
dto.setInternalCamera(dock.getCabinVideoUrl());
|
dto.setInternalCamera(dock.getCabinVideoUrl());
|
||||||
dto.setExternalCamera(dock.getOutsideVideoUrl());
|
dto.setExternalCamera(dock.getOutsideVideoUrl());
|
||||||
dto.setLiveCamera(dock.getLiveVideoUrl());
|
dto.setLiveCamera(dock.getLiveVideoUrl());
|
||||||
|
|
||||||
|
log.info("设置DTO视频地址: internalCamera={}, externalCamera={}, liveCamera={}",
|
||||||
|
dto.getInternalCamera(), dto.getExternalCamera(), dto.getLiveCamera());
|
||||||
dto.setDockIotId(device.getIotDeviceId());
|
dto.setDockIotId(device.getIotDeviceId());
|
||||||
dto.setSnNumber(device.getDeviceSn());
|
dto.setSnNumber(device.getDeviceSn());
|
||||||
dto.setBindTime(device.getCreateTime().getTime());
|
dto.setBindTime(device.getCreateTime().getTime());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue