package com.zksy.base.warning.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zksy.base.warning.domain.EarlyWarning;

import java.util.Map;

public interface IEarlyWarningTodayService {

    /**
     * 获取今日预警统计指标
     */
    Map<String, Object> getTodayWarningStats();

    /**
     * 分页查询今日预警列表
     * @param page 分页参数
     * @param status 预警状态，为空查所有非草稿
     */
    IPage<EarlyWarning> queryTodayWarningPage(Page<EarlyWarning> page, String status);
}