ard-work/src/main/resources/mapper/inspect/ArdVideoInspectRecordMapper.xml
@@ -15,7 +15,7 @@
    </resultMap>
    <sql id="selectArdVideoInspectRecordVo">
        select id, start_time, end_time, record_file_path, step_id, dept_id, user_id from ard_video_inspect_record
        select id, start_time, end_time, record_file_path, step_id, dept_id, user_id,well_name from ard_video_inspect_record
    </sql>
    <select id="selectArdVideoInspectRecordList" parameterType="ArdVideoInspectRecord" resultMap="ArdVideoInspectRecordResult">
@@ -36,7 +36,16 @@
            <if test="startTime != null  and startTime != ''">and start_time like ('${startTime}%')</if>
            <if test="stepId != null  and stepId != ''">and step_id = #{stepId}</if>
        </where>
        order by start_time desc
    </select>
    <!--按日期,任务id查询-->
    <select id="selectTaskRecordByStartTime" resultType="java.util.HashMap">
            select r.*, s.task_id
            from ard_video_inspect_record r
                     LEFT JOIN ard_video_inspect_task_step s on r.step_id = s.id
            where s.task_id = '${taskId}'
              and r.start_time like '${startTime}%'
            order by r.start_time asc
    </select>
    <!--按月份统计文件数量-->
    <select id="selectArdVideoInspectRecordCountByStartMonth" parameterType="String" resultType="java.util.HashMap">