From eba563608c2d059a8dbbc789dd2c567f2302c088 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期六, 25 三月 2023 17:06:34 +0800
Subject: [PATCH] 1

---
 src/main/resources/mapper/sys/AttachMapper.xml |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/mapper/sys/AttachMapper.xml b/src/main/resources/mapper/sys/AttachMapper.xml
index 3f3c070..d2fb54b 100644
--- a/src/main/resources/mapper/sys/AttachMapper.xml
+++ b/src/main/resources/mapper/sys/AttachMapper.xml
@@ -106,8 +106,7 @@
 
     <select id="selectFmeLogs" resultType="com.lf.server.entity.data.FmeLogEntity">
         select * from lf.sys_fme_log
-        where count > 0 and update_time is null and create_time > now()::timestamp + '-1 min'
-            position(tcdm in 'bd.b_pac_hydrogeology,bd.b_pac_frozensoil,bd.b_pac_geologic_hazard,bd.b_pac_marine_meteorological,bd.b_pac_meteorological,bs.m_equipment_nameplate,bs.m_hydraulic_protection,bs.m_marker,bs.s_explorationpoint,bs.u_sectionline') > 0;
+        where count > 0 and update_time is null and create_time > now()::timestamp + '-1 min' and position(tcdm in '${tabs}') > 0;
     </select>
 
     <update id="updateFmeLog">

--
Gitblit v1.9.3