修复门禁可视化无法播放的问题
This commit is contained in:
@@ -10,4 +10,44 @@ public class SisAcDevice extends SisDeviceManage {
|
||||
|
||||
private Long acId;
|
||||
|
||||
/**
|
||||
* 设备通道编号
|
||||
*/
|
||||
private String channelNo;
|
||||
|
||||
/**
|
||||
* 通道状态.0-离线;1-在线
|
||||
*/
|
||||
private Integer channelState;
|
||||
|
||||
/**
|
||||
* nvr 设备厂商编号
|
||||
*/
|
||||
private String nvrFactoryNo;
|
||||
|
||||
/**
|
||||
* nvr设备ip
|
||||
*/
|
||||
private String nvrIp;
|
||||
|
||||
/**
|
||||
* nvr 端口
|
||||
*/
|
||||
private Integer nvrPort;
|
||||
|
||||
/**
|
||||
* nvr 账号
|
||||
*/
|
||||
private String nvrAccount;
|
||||
|
||||
/**
|
||||
* nvr 密码
|
||||
*/
|
||||
private String nvrPwd;
|
||||
|
||||
/**
|
||||
* nvr 通道编号
|
||||
*/
|
||||
private String nvrChannelNo;
|
||||
|
||||
}
|
||||
|
@@ -7,10 +7,19 @@
|
||||
<select id="queryByAcIds" resultType="org.dromara.sis.domain.model.SisAcDevice">
|
||||
SELECT
|
||||
b.*,
|
||||
a.ac_id
|
||||
a.ac_id,
|
||||
c.channel_no,
|
||||
c.channel_state,
|
||||
c.nvr_factory_no,
|
||||
c.nvr_ip,
|
||||
c.nvr_port,
|
||||
c.nvr_account,
|
||||
c.nvr_pwd,
|
||||
c.nvr_channel_no
|
||||
FROM
|
||||
sis_ac_device_ref a
|
||||
LEFT JOIN sis_device_manage b ON a.dp_id = b.id
|
||||
sis_ac_device_ref a
|
||||
LEFT JOIN sis_device_manage b ON a.dp_id = b.id
|
||||
LEFT JOIN sis_device_channel c on c.device_id = b.id
|
||||
where a.ac_id IN
|
||||
<foreach collection="acIds" index="index" item="item" open="(" separator="," close=")">
|
||||
#{item}
|
||||
|
Reference in New Issue
Block a user