package com.njcn.mapper.weeklyreport;

import com.njcn.serviceimpl.weeklyreport.WeeklyReportDataServiceImpl;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface GetAreaPointInfoDataMapper {
    Integer getOnline(@Param("gdIndexs") List<Integer> list); // 统计在线监测点个数(离线个数=监测点ID集合长度-在线个数)

    Integer getEventCount(@Param("lineIndexs") List<Integer> list, @Param("start") Date start, @Param("end") Date end); // 统计暂降事件个数

    List<WeeklyReportDataServiceImpl.Info> getLineInfo(@Param("deptIndexs") List<String> list, @Param("systype") String systype);
}
