package com.zksy.base.warning.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

public interface IEarlyWarningDisposeEfficiencyService {

    /**
     * 获取处置时效概览指标
     */
    Map<String, Object> getEfficiencyOverview(LocalDateTime startTime, LocalDateTime endTime, String warningSpecial);

    /**
     * 获取处置时效区间分布
     */
    List<Map<String, Object>> getEfficiencyRange(LocalDateTime startTime, LocalDateTime endTime, String warningSpecial);

    /**
     * 按预警专项统计平均处置时效
     */
    List<Map<String, Object>> getEfficiencyBySpecial(LocalDateTime startTime, LocalDateTime endTime);

    /**
     * 分页查询处置时效明细列表
     */
    IPage<Map<String, Object>> queryEfficiencyPage(Page<Map<String, Object>> page,
                                                   LocalDateTime startTime,
                                                   LocalDateTime endTime,
                                                   String warningSpecial,
                                                   String sortType);
}