| | |
| | | </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 |