MsgAlarmMapper.java 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. package com.ozs.service.mapper;
  2. import com.ozs.service.entity.MsgAlarm;
  3. import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  4. import com.ozs.service.entity.vo.AlarmStatisticDto;
  5. import com.ozs.service.entity.vo.AlarmStatisticMonthDto;
  6. import com.ozs.service.entity.vo.AlarmStatisticVo;
  7. import org.apache.ibatis.annotations.Mapper;
  8. import org.apache.ibatis.annotations.Param;
  9. import java.util.List;
  10. import java.util.Map;
  11. /**
  12. * <p>
  13. * 报警信息表 Mapper 接口
  14. * </p>
  15. *
  16. * @author ozs
  17. * @since 2023-02-22
  18. */
  19. @Mapper
  20. public interface MsgAlarmMapper extends BaseMapper<MsgAlarm> {
  21. //报警数据详情
  22. List<AlarmStatisticVo> list(@Param("railwayCode") String railwayCode, @Param("startMonth") Integer startMonth, @Param("endMonth") Integer endMonth, @Param("alarmType") String alarmType, @Param("userId") String userId);
  23. //报警数据详情导出数据集合
  24. List<AlarmStatisticDto> listDto(@Param("railwayCode") String railwayCode, @Param("startMonth") Integer startMonth, @Param("endMonth") Integer endMonth, @Param("alarmType") String alarmType, @Param("userId") String userId);
  25. //报警月统计数据
  26. List<AlarmStatisticVo> listMonth(@Param("railwayCode") String railwayCode, @Param("startMonth") Integer startMonth, @Param("endMonth") Integer endMonth, @Param("alarmType") String alarmType, @Param("userId") String userId);
  27. //报警月统计数据导出数据集合
  28. List<AlarmStatisticMonthDto> listDtoMonth(@Param("railwayCode") String railwayCode, @Param("startMonth") Integer startMonth, @Param("endMonth") Integer endMonth, @Param("alarmType") String alarmType, @Param("userId") String userId);
  29. Map selectCameraCode(@Param("cameraCode") String cameraCode);
  30. }