From d7e18fe5f9962b2fc6d8fd7da7692a9aabe50bdf Mon Sep 17 00:00:00 2001
From: ‘liusuyi’ <1951119284@qq.com>
Date: 星期三, 28 六月 2023 10:10:12 +0800
Subject: [PATCH] 报警业务增加雷达报警

---
 ard-work/src/main/resources/mapper/inspect/ArdVideoInspectTaskStepMapper.xml |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/ard-work/src/main/resources/mapper/inspect/ArdVideoInspectTaskStepMapper.xml b/ard-work/src/main/resources/mapper/inspect/ArdVideoInspectTaskStepMapper.xml
index a97c646..c36c9b4 100644
--- a/ard-work/src/main/resources/mapper/inspect/ArdVideoInspectTaskStepMapper.xml
+++ b/ard-work/src/main/resources/mapper/inspect/ArdVideoInspectTaskStepMapper.xml
@@ -20,7 +20,7 @@
 
     <select id="selectArdVideoInspectTaskStepList" parameterType="ArdVideoInspectTaskStep" resultMap="ArdVideoInspectTaskStepResult">
         <include refid="selectArdVideoInspectTaskStepVo"/>
-        <where>  
+        <where>
             <if test="taskId != null  and taskId != ''"> and task_id = #{taskId}</if>
             <if test="deptId != null  and deptId != ''"> and dept_id = #{deptId}</if>
             <if test="userId != null  and userId != ''"> and user_id = #{userId}</if>
@@ -29,6 +29,13 @@
             <if test="wellId != null  and wellId != ''"> and well_id = #{wellId}</if>
         </where>
     </select>
+    <select id="selectByTaskId" parameterType="String"  resultType="java.util.HashMap">
+        select s.*, w.well_id as well_name
+        from ard_video_inspect_task_step s,
+             ard_alarmpoints_well w
+        where s.task_id = #{taskId}
+          and s.well_id = w.id
+    </select>
     
     <select id="selectArdVideoInspectTaskStepByTaskId" parameterType="String" resultMap="ArdVideoInspectTaskStepResult">
         <include refid="selectArdVideoInspectTaskStepVo"/>

--
Gitblit v1.9.3