From 3cadca8ab0c0db03f072c5eb55c5703cd6965d9d Mon Sep 17 00:00:00 2001 From: ‘liusuyi’ <1951119284@qq.com> Date: 星期五, 02 六月 2023 14:39:50 +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