From bcecd69be3fb0d64e0a692ce328ca7b1f44dedf3 Mon Sep 17 00:00:00 2001
From: liusuyi <13324259@qq.com>
Date: 星期五, 02 六月 2023 19:08:34 +0800
Subject: [PATCH] 优化

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

diff --git a/ard-work/src/main/resources/mapper/device/ArdCamerasMapper.xml b/ard-work/src/main/resources/mapper/device/ArdCamerasMapper.xml
index 2b3c5fe..1f6187e 100644
--- a/ard-work/src/main/resources/mapper/device/ArdCamerasMapper.xml
+++ b/ard-work/src/main/resources/mapper/device/ArdCamerasMapper.xml
@@ -239,7 +239,6 @@
         </foreach>
     </delete>
 
-
     <select id="findOptions" parameterType="String" resultMap="ArdCamerasResult">
         <include refid="selectArdCamerasVo"/>
         <where>
@@ -247,4 +246,9 @@
             <if test="name != null  and name != ''">and c.name like '%'||#{name}||'%'</if>
         </where>
     </select>
+    <select id="selectArdCamerasByDeptId" parameterType="Long" resultMap="ArdCamerasResult">
+        select *
+        from ard_cameras
+        where dept_id = #{deptId}
+    </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.3