package com.datacenter.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.datacenter.entity.StatDailyAggregate;

import java.util.List;

public interface StatDailyAggregateService extends IService<StatDailyAggregate> {

    /**
     * 按指标查询最近若干天的日汇总，按业务日期倒序。
     */
    List<StatDailyAggregate> listRecentByMetricKey(String metricKey, int limitDays);
}
