From 83742e476be26188965380c0c7cebf03f867e204 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期一, 09 十二月 2024 09:02:03 +0800
Subject: [PATCH] 远程监控功能中,显示设备报警信息同时也显示报警接收时间,修改相应的代码与SQL

---
 pipIrr-platform/pipIrr-global/src/main/resources/mapper/OpeTrackMapper.xml |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/OpeTrackMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/OpeTrackMapper.xml
index ebb150d..6231a5d 100644
--- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/OpeTrackMapper.xml
+++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/OpeTrackMapper.xml
@@ -108,4 +108,15 @@
       (#{item.id}, #{item.inspectId}, #{item.lng}, #{item.lat}, #{item.locateTime})
     </foreach>
   </insert>
+    <!--鏍规嵁宸℃id鏌ヨ杞ㄨ抗-->
+<!--  <select id="selectByInspectId" resultMap="BaseResultMap">-->
+  <select id="selectByInspectId" resultType="com.dy.pipIrrGlobal.pojoOp.OpeTrack">
+    SELECT
+      id,
+      inspect_id AS inspectId,
+      lng,
+      lat,
+      locate_time AS locateTime
+    FROM ope_track WHERE inspect_id = #{inspectId}
+  </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.8.0