From 845956ecf4749c2d6c278bdc9638efb934a63419 Mon Sep 17 00:00:00 2001 From: zhangjian <zhangjianrock@163.com> Date: 星期六, 03 六月 2023 11:44:49 +0800 Subject: [PATCH] 视频巡检任务 单独更新 --- ard-work/src/main/resources/mapper/inspect/ArdVideoInspectTaskMapper.xml | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/ard-work/src/main/resources/mapper/inspect/ArdVideoInspectTaskMapper.xml b/ard-work/src/main/resources/mapper/inspect/ArdVideoInspectTaskMapper.xml index c9fcb84..8b9dc65 100644 --- a/ard-work/src/main/resources/mapper/inspect/ArdVideoInspectTaskMapper.xml +++ b/ard-work/src/main/resources/mapper/inspect/ArdVideoInspectTaskMapper.xml @@ -47,6 +47,7 @@ <where> <if test="taskName != null and taskName != ''"> and task_name like '%'||#{taskName}||'%'</if> <if test="inspectMode != null and inspectMode != ''"> and inspect_mode = #{inspectMode}</if> + <if test="menualSwitch != null and inspectMode != ''">and menual_switch= #{menualSwitch}</if> <if test="cameraId != null and cameraId != ''"> and camera_id = #{cameraId}</if> <if test="channel != null "> and channel = #{channel}</if> </where> @@ -154,4 +155,11 @@ ( #{item.taskId}, #{item.deptId}, #{item.userId}, #{item.orderNumber}, #{item.recordingTime}, #{item.wellId}) </foreach> </insert> + + <!--鏌ヨ浠诲姟涓浉鏈哄凡浣跨敤鏃舵--> + <select id="getTaskUsedCameraPeriods" parameterType="String" resultType="java.util.HashMap"> + select t.start_time,t.end_time from ard_video_inspect_task t + where t.camera_id=#{startMonth} + ORDER BY t.start_time + </select> </mapper> \ No newline at end of file -- Gitblit v1.9.3