zhangnaisong
2024-07-02 9710740f1672fcaab74510ff5e8044c5fd0dafc8
ard-work/src/main/resources/mapper/inspect/ArdVideoInspectRecordMapper.xml
@@ -38,6 +38,15 @@
        </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">
        select f.start_date,count(*) from