package com.zhgd.xmgl.modules.basicdata.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhgd.xmgl.modules.basicdata.dto.EngineeringDeviceDto;
import com.zhgd.xmgl.modules.basicdata.dto.ProjectDeviceDto;
import com.zhgd.xmgl.modules.basicdata.entity.AiMonitorAlarm;

import java.util.List;
import java.util.Map;

/**
 * @Description: AI预警记录
 * @author： pengj
 * @date：   2023-03-04
 * @version： V1.0
 */
public interface IAiMonitorAlarmService extends IService<AiMonitorAlarm> {

    Page<EngineeringDeviceDto> engineeringPageList(Map<String, Object> map);

    Page<ProjectDeviceDto> projectPageList(Map<String, Object> map);

    Page<AiMonitorAlarm> pageList(Page page, Wrapper<AiMonitorAlarm> wrapper);

    List<Map<String, Object>> getCountGroupByType(String deviceCode);
}
