From 5c978147b913754adbf913acdb6e4dcf995f0609 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期五, 06 九月 2024 15:14:03 +0800 Subject: [PATCH] 新的点位在线率查询方式 --- ycl-server/src/main/resources/mapper/zgyw/ReportMapper.xml | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/ycl-server/src/main/resources/mapper/zgyw/ReportMapper.xml b/ycl-server/src/main/resources/mapper/zgyw/ReportMapper.xml index 606dabe..1b7816b 100644 --- a/ycl-server/src/main/resources/mapper/zgyw/ReportMapper.xml +++ b/ycl-server/src/main/resources/mapper/zgyw/ReportMapper.xml @@ -41,6 +41,9 @@ <if test="query.reportType != null and query.reportType != ''"> AND r.report_type = #{query.reportType} </if> + <if test="query.unitId != null"> + AND r.unit_id = #{query.unitId} + </if> <if test="query.status != null"> AND r.status = #{query.status} </if> -- Gitblit v1.8.0