添加视频字段
This commit is contained in:
parent
d2a6edead8
commit
3a5465ec30
|
|
@ -91,6 +91,9 @@ public class DaJiangBufferDeviceImpl implements IBufferDeviceService
|
||||||
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());
|
||||||
|
dto.setInternalCamera(dock.getCabinVideoUrl());
|
||||||
|
dto.setExternalCamera(dock.getOutsideVideoUrl());
|
||||||
|
dto.setLiveCamera(dock.getLiveVideoUrl());
|
||||||
|
|
||||||
|
|
||||||
List<DockAircraft> aircrafts = dockAircraftDomain.selectDockAircraftByDockId(dockId);
|
List<DockAircraft> aircrafts = dockAircraftDomain.selectDockAircraftByDockId(dockId);
|
||||||
|
|
|
||||||
|
|
@ -15,11 +15,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<result property="updateTime" column="update_time" />
|
<result property="updateTime" column="update_time" />
|
||||||
<result property="remark" column="remark" />
|
<result property="remark" column="remark" />
|
||||||
<result property="lastActiveTime" column="last_active_time" />
|
<result property="lastActiveTime" column="last_active_time" />
|
||||||
|
<result property="cabinVideoUrl" column="cabin_video_url" />
|
||||||
|
<result property="outsideVideoUrl" column="outside_video_url" />
|
||||||
|
<result property="liveVideoUrl" column="live_video_url" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
|
|
||||||
<sql id="selectDockVo">
|
<sql id="selectDockVo">
|
||||||
select dock_id, dock_name, dock_location, device_id,
|
select dock_id, dock_name, dock_location, device_id,
|
||||||
create_by, create_time, update_by, update_time, remark, last_active_time
|
create_by, create_time, update_by, update_time, remark, last_active_time,
|
||||||
|
cabin_video_url, outside_video_url, live_video_url
|
||||||
from device_dock
|
from device_dock
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue