From f041323a2bce037843fcb163b017427baa556da3 Mon Sep 17 00:00:00 2001 From: liusuyi <1951119284@qq.com> Date: 星期三, 24 七月 2024 16:41:16 +0800 Subject: [PATCH] 优化:修改未读消息入库前判断不存在则插入 取消:程序自动拉起redis/mediamtx/minio,中间件全部服务化 增加:流媒体vtdu详情接口 --- 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