From b0b09870e7bfd3d3cda7a38cc924e86c633938e5 Mon Sep 17 00:00:00 2001 From: ‘liusuyi’ <1951119284@qq.com> Date: 星期五, 28 七月 2023 08:56:03 +0800 Subject: [PATCH] 增加app任务详情查看时间和查看位置 修复用户不按部门过滤的问题 --- ard-work/src/main/resources/mapper/device/ArdCamerasMapper.xml | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/ard-work/src/main/resources/mapper/device/ArdCamerasMapper.xml b/ard-work/src/main/resources/mapper/device/ArdCamerasMapper.xml index 19fdea3..7907744 100644 --- a/ard-work/src/main/resources/mapper/device/ArdCamerasMapper.xml +++ b/ard-work/src/main/resources/mapper/device/ArdCamerasMapper.xml @@ -81,10 +81,6 @@ <if test="longitude != null ">and c.longitude = #{longitude}</if> <if test="latitude != null ">and c.latitude = #{latitude}</if> <if test="altitude != null ">and c.altitude = #{altitude}</if> - <if test="userId != null and userId != ''">and c.user_id = #{userId}</if> - <if test="deptId != null ">and (c.dept_id = #{deptId} OR c.dept_id IN ( SELECT t.dept_id FROM sys_dept t - WHERE cast(#{deptId} as varchar) = any(string_to_array(ancestors,',')) )) - </if> <if test="camHeading != null ">and c.cam_heading = #{camHeading}</if> <if test="camPitch != null ">and c.cam_pitch = #{camPitch}</if> <if test="camRoll != null ">and c.cam_roll = #{camRoll}</if> -- Gitblit v1.9.3