|  |  |  | 
|---|
|  |  |  | </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"> | 
|---|
|  |  |  | 
|---|
|  |  |  | <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> | 
|---|
|  |  |  | <!--按月份统计文件数量--> | 
|---|
|  |  |  | <select id="selectArdVideoInspectRecordCountByStartMonth" parameterType="String" resultType="java.util.HashMap"> | 
|---|