From c6ef8fb06f8f75ece7e4d6669af01bebb051d217 Mon Sep 17 00:00:00 2001 From: ‘liusuyi’ <1951119284@qq.com> Date: 星期六, 03 六月 2023 17:20:56 +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