修复门禁可视化无法播放的问题

This commit is contained in:
15683799673
2025-08-28 19:48:04 +08:00
parent 57e9ac1079
commit 92cb1fcd63
2 changed files with 52 additions and 3 deletions

View File

@@ -10,4 +10,44 @@ public class SisAcDevice extends SisDeviceManage {
private Long acId; 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;
} }

View File

@@ -7,10 +7,19 @@
<select id="queryByAcIds" resultType="org.dromara.sis.domain.model.SisAcDevice"> <select id="queryByAcIds" resultType="org.dromara.sis.domain.model.SisAcDevice">
SELECT SELECT
b.*, 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 FROM
sis_ac_device_ref a sis_ac_device_ref a
LEFT JOIN sis_device_manage b ON a.dp_id = b.id 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 where a.ac_id IN
<foreach collection="acIds" index="index" item="item" open="(" separator="," close=")"> <foreach collection="acIds" index="index" item="item" open="(" separator="," close=")">
#{item} #{item}