Newer
Older
newfiber-termite / newfiber-termites / newfiber-termites-dataup / src / main / java / com / newfiber / termite / service / IStatisticsService.java
@liuyuanye liuyuanye 24 days ago 1 KB 告警分析,累计天数bug
package com.newfiber.termite.service;

import com.newfiber.termite.domain.request.SnWarinTotalDaysRequestInfo;
import com.newfiber.termite.domain.request.WarnMonitoringRequest;
import com.newfiber.termite.domain.request.WarnMonthAlarmsRequest;
import com.newfiber.termite.domain.request.statistic.ProjectStatisticRequest;
import com.newfiber.termite.domain.request.statistic.SiteWarnDailySeqStatisticRequest;
import com.newfiber.termite.domain.request.statistic.SiteWarnTotalCountStatisticRequest;
import com.newfiber.termite.domain.response.SnWarinTotalDaysResponseInfo;
import com.newfiber.termite.domain.response.WarnMonitoringResponse;
import com.newfiber.termite.domain.response.WarnMonitoringResponseInfo;
import com.newfiber.termite.domain.response.WarnMonthAlarmsResponse;
import com.newfiber.termite.domain.response.statistic.ProjectStatistic;
import com.newfiber.termite.domain.response.statistic.SiteDailyWarnCount;
import com.newfiber.termite.domain.response.statistic.SiteTotalWarnCount;

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

/**
 *
 * @author X.K
 * @date 2024-05-27
 */
public interface IStatisticsService {

    Map<String, List<SiteDailyWarnCount>> warnDailySeqStatistic(SiteWarnDailySeqStatisticRequest request);

    List<SiteTotalWarnCount> siteWarnTotalCountStatistic(SiteWarnTotalCountStatisticRequest request);

    ProjectStatistic projectWarnTotalCountStatistic(ProjectStatisticRequest request);

    WarnMonthAlarmsResponse warnMonthAlarms(WarnMonthAlarmsRequest request);

    WarnMonthAlarmsResponse WarnMonthAlarmsStatistics(WarnMonthAlarmsRequest request);

    WarnMonitoringResponse warnMonitoring(WarnMonitoringRequest request);

    List<WarnMonitoringResponseInfo>  listWarinTotalDays(WarnMonitoringRequest request);

    List<SnWarinTotalDaysResponseInfo>  snWarinTotalDays(SnWarinTotalDaysRequestInfo requestfo,LocalDate date);

}