Pu Zhibing
2025-04-04 3d4eeb82dd61f8951616dece2425e870116bc23d
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
package com.ruoyi.system.service;
 
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.web.page.PageInfo;
import com.ruoyi.system.api.model.Warn;
import com.ruoyi.system.query.CarWarnListReq;
import com.ruoyi.system.query.CarWarnListResp;
 
import java.util.List;
import java.util.Map;
 
/**
 * @author zhibing.pu
 * @Date 2025/3/27 14:35
 */
public interface IWarnService extends IService<Warn> {
    
    
    /**
     * 存储新的报警数据
     */
    void taskSaveNewWarn();
    
    
    /**
     * 获取车辆预警列表
     *
     * @param carWarnListReq
     * @return
     */
    PageInfo<CarWarnListResp> getCarWarnList(CarWarnListReq carWarnListReq);
    
    
    /**
     * 获取预警汇总统计最高的10类报警数据
     *
     * @return
     */
    List<Map<String, Object>> getWarnGroupCount();
    
    
    /**
     * 获取预警汇总前10排行榜
     *
     * @return
     */
    List<Map<String, Object>> getWarnGroupCountTop10();
}