From f508c3954e4ddcdfdc53a235d1895012f399f30f Mon Sep 17 00:00:00 2001
From: 张晓波 <bingbo1993@126.com>
Date: 星期一, 16 十月 2023 15:43:04 +0800
Subject: [PATCH] 删除大屏 mq
---
hd/pipe/mobile/src/main/resources/mapping/CheckDeviceMapper.xml | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/hd/pipe/mobile/src/main/resources/mapping/CheckDeviceMapper.xml b/hd/pipe/mobile/src/main/resources/mapping/CheckDeviceMapper.xml
index 172cfdc..d00ca11 100644
--- a/hd/pipe/mobile/src/main/resources/mapping/CheckDeviceMapper.xml
+++ b/hd/pipe/mobile/src/main/resources/mapping/CheckDeviceMapper.xml
@@ -101,14 +101,15 @@
left join sys_users su on su.user_id = t.admin_user
<where>
<trim suffixOverrides=" AND ">
+ t.is_use = 1 AND
<if test="bigDeviceName !=null and bigDeviceName !=''">
- bd.big_device_name LIKE concat('%',#{bigDeviceName},'%')
+ bd.big_device_name LIKE concat('%',#{bigDeviceName},'%') AND
</if>
<if test="startTime !=null">
- t.check_time >= #{startTime}
+ t.check_time >= #{startTime} AND
</if>
<if test="endTime !=null">
- t.check_time <= #{endTime}
+ t.check_time <= #{endTime} AND
</if>
</trim>
</where>
--
Gitblit v1.9.3