From 86d0558a3b81c12d03a2d90113490e7c5e147c54 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期二, 24 九月 2024 15:27:13 +0800 Subject: [PATCH] 大屏公安部考核数据 --- ycl-server/src/main/resources/mapper/zgyw/YwPointMapper.xml | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/ycl-server/src/main/resources/mapper/zgyw/YwPointMapper.xml b/ycl-server/src/main/resources/mapper/zgyw/YwPointMapper.xml index 34b5f19..946239a 100644 --- a/ycl-server/src/main/resources/mapper/zgyw/YwPointMapper.xml +++ b/ycl-server/src/main/resources/mapper/zgyw/YwPointMapper.xml @@ -61,13 +61,15 @@ FROM t_yw_point p INNER JOIN t_monitor m ON p.serial_number = m.serial_number <where> - AND p.create_time between #{query.startTime} and #{query.endTime} <if test="query.keyword != null and query.keyword != ''"> AND (m.name like concat('%', #{query.keyword}, '%') OR m.serial_number like concat('%', #{query.keyword}, '%')) </if> <if test="query.dataType == 1"> AND p.province_tag = 1 </if> + <if test="query.dataType == 2"> + AND p.dept_tag = 1 + </if> <choose> <when test="query.deptTag == 1"> AND p.dept_tag = 1 -- Gitblit v1.8.0