From 7d5ea3631d163343b652bd6bd40b94b34c4194eb Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期二, 10 九月 2024 17:32:05 +0800 Subject: [PATCH] 点位在线率调整 --- ycl-server/src/main/resources/mapper/zgyw/TMonitorMapper.xml | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/ycl-server/src/main/resources/mapper/zgyw/TMonitorMapper.xml b/ycl-server/src/main/resources/mapper/zgyw/TMonitorMapper.xml index 7c7aef2..3ab225e 100644 --- a/ycl-server/src/main/resources/mapper/zgyw/TMonitorMapper.xml +++ b/ycl-server/src/main/resources/mapper/zgyw/TMonitorMapper.xml @@ -154,6 +154,17 @@ left join sys_dept d on p.dept_id = d.dept_id </select> + <select id="selectMonitorResult" resultType="com.ycl.platform.domain.result.SYS.TMonitorResult"> + select m.id, m.serial_number as no,d.dept_id,p.province_tag,p.important_tag,p.important_command_image_tag,p.dept_tag,p.online + from t_monitor m + left join t_yw_point p on m.serial_number = p.serial_number + left join sys_dept d on p.dept_id = d.dept_id + <where> + <if test="cameraFunType!=null"> + m.camera_fun_type like concat('%',#{cameraFunType},'%') + </if> + </where> + </select> <select id="selectTMonitorById" parameterType="Long" resultType="com.ycl.platform.domain.vo.TMonitorVO"> <include refid="selectTMonitorVo"/> where id = #{id} -- Gitblit v1.8.0