|  |  | 
 |  |  |  | 
 |  |  | import java.util.List; | 
 |  |  |  | 
 |  |  | import com.ruoyi.common.utils.SecurityUtils; | 
 |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
 |  |  | import org.springframework.stereotype.Service; | 
 |  |  | import com.ruoyi.inspect.mapper.ArdVideoInspectRecordMapper; | 
 |  |  | 
 |  |  |         return ardVideoInspectRecordMapper.selectArdVideoInspectRecordList(ardVideoInspectRecord); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @Override | 
 |  |  |     public List selectArdVideoInspectRecordListByStartTime(ArdVideoInspectRecord ardVideoInspectRecord) { | 
 |  |  |         return ardVideoInspectRecordMapper.selectArdVideoInspectRecordListByStartTime(ardVideoInspectRecord); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 按月份获取每日记录文件数量 | 
 |  |  |      * @param startMonth | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     public List<ArdVideoInspectRecord> selectArdVideoInspectRecordCountByStartMonth(String startMonth) { | 
 |  |  |         return ardVideoInspectRecordMapper.selectArdVideoInspectRecordCountByStartMonth(startMonth); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 新增视频巡检记录 | 
 |  |  |      * | 
 |  |  | 
 |  |  |      */ | 
 |  |  |     @Override | 
 |  |  |     public int insertArdVideoInspectRecord(ArdVideoInspectRecord ardVideoInspectRecord) { | 
 |  |  |                 ardVideoInspectRecord.setUserId(SecurityUtils.getUserId()); | 
 |  |  |               //  ardVideoInspectRecord.setUserId(SecurityUtils.getUserId()); | 
 |  |  |             return ardVideoInspectRecordMapper.insertArdVideoInspectRecord(ardVideoInspectRecord); | 
 |  |  |     } | 
 |  |  |  |