From 38eaaa87743252da53851047bd15b089ccf9697b Mon Sep 17 00:00:00 2001
From: ‘liusuyi’ <1951119284@qq.com>
Date: 星期四, 07 三月 2024 11:00:40 +0800
Subject: [PATCH] SDK云台控制和setptz增加错误码返回 增加部门和相机按角色数据权限查询

---
 ard-work/src/main/resources/mapper/device/ArdEquipExternalMapper.xml |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ard-work/src/main/resources/mapper/device/ArdEquipExternalMapper.xml b/ard-work/src/main/resources/mapper/device/ArdEquipExternalMapper.xml
index 06ddea5..0f52fe2 100644
--- a/ard-work/src/main/resources/mapper/device/ArdEquipExternalMapper.xml
+++ b/ard-work/src/main/resources/mapper/device/ArdEquipExternalMapper.xml
@@ -51,6 +51,7 @@
         <include refid="selectArdEquipExternalVo"/>
         <where>
             <if test="name != null  and name != ''">and c.name like '%'||#{name}||'%'</if>
+            <if test="ip != null  and ip != ''">and c.ip = #{ip}</if>
             <if test="type != null  and type != ''">and c.type = #{type}</if>
             <if test="factory != null  and factory != ''">and c.factory = #{factory}</if>
             <if test="deptId != null ">and (c.dept_id = #{deptId} OR c.dept_id IN ( SELECT t.dept_id FROM sys_dept t

--
Gitblit v1.9.3