zxl
2026-03-25 8819762ad58f77e606431fca4072c19e542e6055
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package com.tievd.jyz.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tievd.jyz.dto.AlarmStatDTO;
import com.tievd.jyz.entity.OiloutEvent;
import com.tievd.jyz.entity.vo.AlarmOverviewVO;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
import java.util.Map;
 
/**
 * OiloutEvent
 * @author      cube
 * @since       2023-02-27
 * @version     V2.0.0
 */
public interface OiloutEventMapper extends BaseMapper<OiloutEvent> {
 
    List<Map> oilOutStatis(Map map);
 
    /** 月度告警数据 */
    int monthlyAlarmCount(@Param("date") String date, @Param("orgCode") String orgCode);
 
    /** 告警统计 */
    AlarmOverviewVO alarmStat(@Param("date") String date, @Param("orgCode") String orgCode);
 
    /** 告警统计 按天 */
    List<AlarmStatDTO> alarmStatRange(@Param("intervalDay") int intervalDay, @Param("endDay") String endDay, @Param("orgCode") String orgCode);
 
    /** 告警趋势 */
    List<AlarmStatDTO> alarmTrendStatRange(@Param("intervalDay") int intervalDay, @Param("endDay") String endDay, @Param("orgCode") String orgCode);
}