|
|
@@ -1,21 +1,10 @@
|
|
|
package com.xunmei.iot.mapper;
|
|
|
|
|
|
-import com.baomidou.dynamic.datasource.annotation.DS;
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
|
-import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
import com.xunmei.common.core.domain.video.MediatorVideoDaysCheck;
|
|
|
-import com.xunmei.iot.dto.videoDays.VideoDayCheckPageDto;
|
|
|
-import com.xunmei.iot.dto.videoDays.VideoDayCheckWebPageDto;
|
|
|
-import com.xunmei.iot.dto.videoDays.VideoDaysInconformityDto;
|
|
|
-import com.xunmei.iot.vo.videoDays.*;
|
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
|
|
-import java.time.LocalDate;
|
|
|
-import java.util.Date;
|
|
|
-import java.util.List;
|
|
|
-import java.util.Map;
|
|
|
-
|
|
|
/**
|
|
|
* <p>
|
|
|
* 录像机天数检查 Mapper 接口
|
|
|
@@ -27,36 +16,5 @@ import java.util.Map;
|
|
|
@Mapper
|
|
|
public interface VideoDaysCheckMapper extends BaseMapper<MediatorVideoDaysCheck> {
|
|
|
|
|
|
-// Page<VideoDaysCheckPageVo> selectPageByOrgId(@Param("request") VideoDayCheckPageDto request, Page<VideoDaysCheckPageVo> mePage);
|
|
|
-
|
|
|
- VideoDaysCheckChannelDetailVo selectChannelDetailById(@Param("equipmentcode") String equipmentCode, @Param("channelcode") String channelCode);
|
|
|
-
|
|
|
-// List<VideoDaysCheck> selectByOrgId(@Param("orgId")Long orgId);
|
|
|
-
|
|
|
-// MePage<VideoIntegrityCheckPageVo> selectPageByOrgId(@Param("orgId")Long orgId, MePage<VideoIntegrityCheckPageVo> mePage);
|
|
|
-
|
|
|
- Page<VideoDaysCheckPageVo> selectPageByOrgIdAndTimeAndStatus(@Param("request") VideoDayCheckPageDto request, @Param("page") Page<VideoDaysCheckPageVo> mePage);
|
|
|
- List<Map<String, Object>> totalVideoData(@Param("dayOfStartTime") Date dayOfStartTime, @Param("dayOfEndTime") Date dayOfEndTime, @Param("orgIds") List<Long> orgIds);
|
|
|
-// @DS(DataSourceName.SHARDING_DATA_SOURCE_NAME)
|
|
|
- List<Map<String, Object>> totalVideoDataLog(@Param("dayOfStartTime") Date dayOfStartTime, @Param("dayOfEndTime") Date dayOfEndTime, @Param("orgIds") List<Long> orgIds);
|
|
|
- List<Map<String, Object>> totalDeviceNum(@Param("orgIds") List<Long> orgIds, @Param("categoryId") Long categoryId);
|
|
|
-
|
|
|
- List<Map<String, Object>> totalHostOffData(@Param("orgIds") List<Long> orgIds, @Param("startTime") Date startTime, @Param("endTime") Date endTime);
|
|
|
-
|
|
|
- Page<VideoDayCheckWebPageVo> selectWebPageData(@Param("pageDto") VideoDayCheckWebPageDto pageDto, @Param("page") Page<VideoDayCheckWebPageVo> mePage);
|
|
|
-
|
|
|
- VideoDayCheckWebDetailVo getWebDetailVo(@Param("id") Long id);
|
|
|
-
|
|
|
- List<VideoDayCheckWebPageVo> selectVideoLoseDevice(@Param("orgId") Long orgId, @Param("startTime") Date startTime, @Param("endTime") Date endTime);
|
|
|
-
|
|
|
-
|
|
|
- List<VideoDaysCheckChannelVo> selectChannelsByTime(@Param("equipmentCode") String equipmentCode, @Param("request") VideoDayCheckPageDto request);
|
|
|
-
|
|
|
- List<VideoDaysCheckChannelVo> selectNotReportChannels(@Param("equipmentCode") String equipmentCode, @Param("request") VideoDayCheckPageDto request);
|
|
|
-
|
|
|
- Integer getVideoDaysCheckAlarmNum(@Param("request") VideoDaysInconformityDto request);
|
|
|
-
|
|
|
- List<VideoDaysCheckChannelVo> selectNotReportChannels(@Param("equipmentCode") String equipmentCode, @Param("request") VideoDayCheckPageDto request, @Param("codeList") List<String> codeList);
|
|
|
-
|
|
|
- List<Map<String, Object>> totalLxwzxData(List<Long> orgIds, LocalDate parse);
|
|
|
+ Integer selectExceptionCount(@Param("orgId") Long orgId);
|
|
|
}
|