package com.njcn.event.service.majornetwork;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.njcn.event.pojo.param.UniversalFrontEndParam;
import com.njcn.event.pojo.po.RmpEventDetailPO;
import com.njcn.event.pojo.vo.AdvanceEventDetailVO;
import com.njcn.event.pojo.vo.RmpEventDetailVO;
import com.njcn.event.pojo.vo.TransientVO;
import com.njcn.system.pojo.po.DictData;
import com.njcn.web.pojo.param.BaseParam;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * 暂态事件明细
 *
 * @author yzh
 * @date 2022/10/12
 */

public interface RmpEventDetailService extends IService<RmpEventDetailPO> {

    /**
     * 获取暂态事件明细
     *
     * @param param 条件参数
     * @return 暂态事件明细
     */
    List<RmpEventDetailVO> getRmpEventDetail(UniversalFrontEndParam param);

    /**
     * 获取暂态指标类型列表
     *
     * @return 暂态指标类型列表
     */
    List<DictData> getEventStatisList();


    /**
     *
     * @author cdf
     * @date 2023/5/17
     */
    RmpEventDetailVO getTransientDetailById(String eventId,String sysType,Integer smallType);


    Page<AdvanceEventDetailVO> querySagEvents(BaseParam baseParam);



    /**
     *
     * @author cdf
     * @date 2023/7/28
     */
    RmpEventDetailPO queryEventDetailByEventId(String eventId);
}
