| | |
| | | c.altitude, |
| | | c.user_id, |
| | | c.dept_id, |
| | | c.login_id, |
| | | c.cam_heading, |
| | | c.cam_pitch, |
| | | c.cam_roll, |
| | |
| | | <if test="camMaxVisibleDistance != null ">and c.cam_max_visible_distance = #{camMaxVisibleDistance}</if> |
| | | <if test="camAlarmGuideEnable != null ">and c.cam_alarm_guide_enable = #{camAlarmGuideEnable}</if> |
| | | <if test="loginId != null ">and c.login_id = #{loginId}</if> |
| | | <if test="deptId != null ">and (d.dept_id = #{deptId} OR d.dept_id IN ( SELECT t.dept_id FROM sys_dept t |
| | | WHERE cast(#{deptId} as varchar) = any(string_to_array(ancestors,',')) )) |
| | | </if> |
| | | <!-- 数据范围过滤 --> |
| | | ${params.dataScope} |
| | | </where> |