From f50f1839aaa33be713561da03cf056662ac44f18 Mon Sep 17 00:00:00 2001 From: ‘liusuyi’ <1951119284@qq.com> Date: 星期五, 28 七月 2023 11:30:25 +0800 Subject: [PATCH] 增加app任务查看时间和查看位置 修改app任务详情为打卡时间和打卡位置 --- ard-work/src/main/resources/mapper/management3d/ArdTiles3dMapper.xml | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/ard-work/src/main/resources/mapper/management3d/ArdTiles3dMapper.xml b/ard-work/src/main/resources/mapper/management3d/ArdTiles3dMapper.xml index adfbdcb..bfb5c73 100644 --- a/ard-work/src/main/resources/mapper/management3d/ArdTiles3dMapper.xml +++ b/ard-work/src/main/resources/mapper/management3d/ArdTiles3dMapper.xml @@ -74,7 +74,9 @@ <if test="dynamicScreenSpaceErrorDensity != null ">and c.dynamic_screen_space_error_density = #{dynamicScreenSpaceErrorDensity} </if> - <if test="deptId != null ">and c.dept_id = #{deptId}</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="userId != null and userId != ''">and c.user_id = #{userId}</if> </where> <!-- 鏁版嵁鑼冨洿杩囨护 --> -- Gitblit v1.9.3