添加日志

This commit is contained in:
孙小云 2026-03-24 13:40:59 +08:00
parent 135402e725
commit 22f18ebbe5
1 changed files with 6 additions and 0 deletions

View File

@ -69,6 +69,9 @@ public class TuohengBufferDeviceImpl implements IBufferDeviceService {
return null;
}
log.info("Dock对象详细信息: dockId={}, cabinVideoUrl={}, outsideVideoUrl={}, liveVideoUrl={}",
dock.getDockId(), dock.getCabinVideoUrl(), dock.getOutsideVideoUrl(), dock.getLiveVideoUrl());
// 查询设备信息
Device device = deviceDomain.selectDeviceByDeviceId(dock.getDeviceId());
if (device == null) {
@ -91,6 +94,9 @@ public class TuohengBufferDeviceImpl implements IBufferDeviceService {
dto.setInternalCamera(dock.getCabinVideoUrl());
dto.setExternalCamera(dock.getOutsideVideoUrl());
dto.setLiveCamera(dock.getLiveVideoUrl());
log.info("设置DTO视频地址: internalCamera={}, externalCamera={}, liveCamera={}",
dto.getInternalCamera(), dto.getExternalCamera(), dto.getLiveCamera());
dto.setDockIotId(device.getIotDeviceId());
dto.setSnNumber(device.getDeviceSn());
dto.setBindTime(device.getCreateTime().getTime());