From 1757c698bc9f37844d27e6e8f1eaa5232d2d670c Mon Sep 17 00:00:00 2001
From: whycxzp <glperry@163.com>
Date: 星期四, 12 六月 2025 18:29:52 +0800
Subject: [PATCH] 告警产生,加入到巡检实时表;告警是否消失,同步到巡检实时表

---
 src/main/resources/mapper/PwrdevAlarmMapper.xml |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/PwrdevAlarmMapper.xml b/src/main/resources/mapper/PwrdevAlarmMapper.xml
index 82be3f7..20e0be4 100644
--- a/src/main/resources/mapper/PwrdevAlarmMapper.xml
+++ b/src/main/resources/mapper/PwrdevAlarmMapper.xml
@@ -44,4 +44,10 @@
 
         </where>
     </select>
+    <select id="getListGreatThan" resultType="com.whyc.pojo.web_site.AlarmInspection">
+        select pa.*,pa.num as alm_num,pi.power_name,pi.power_id,si.station_id,si.station_name from db_pwrdev_alarm.tb_pwrdev_alarm pa,db_station.tb_power_inf pi,db_station.tb_station_inf si
+        where pa.power_id=pi.power_id
+        and pi.station_id=si.station_id
+        and pa.num>#{id}
+    </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1