From 5c82602d54928cc414177084ab6d81cef4c11d15 Mon Sep 17 00:00:00 2001 From: zxl <763096477@qq.com> Date: 星期二, 11 三月 2025 09:33:25 +0800 Subject: [PATCH] getosd数组下标越界问题 以及 离线时间 --- ycl-server/src/main/resources/mapper/zgyw/TMonitorMapper.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ycl-server/src/main/resources/mapper/zgyw/TMonitorMapper.xml b/ycl-server/src/main/resources/mapper/zgyw/TMonitorMapper.xml index 948a7bd..045e962 100644 --- a/ycl-server/src/main/resources/mapper/zgyw/TMonitorMapper.xml +++ b/ycl-server/src/main/resources/mapper/zgyw/TMonitorMapper.xml @@ -513,7 +513,7 @@ u.unit_name AS name, CONCAT(MONTH(w.create_time), '鏈�') AS months from - (select count(m.id) as num from t_monitor m where m.serial_number IN (SELECT p.serial_number from t_yw_unit u,t_yw_point p where p.unit_id = u.id and u.id = 21 AND p.examine_status = 1) + (select count(m.id) as num from t_monitor m where m.serial_number IN (SELECT p.serial_number from t_yw_unit u,t_yw_point p where p.unit_id = u.id and u.id = #{unitId} AND p.examine_status = 1) ) as a join t_work_order w -- Gitblit v1.8.0