package com.weather.modules.weather.dailydata.service;

import com.weather.common.page.PageData;
import com.weather.common.service.CrudService;
import com.weather.modules.weather.dailydata.dto.DailyWeatherSummarizeDto;
import com.weather.modules.weather.dailydata.dto.WeatherDailyDataDto;
import com.weather.modules.weather.dailydata.dto.WeatherDailyDataQueryDto;
import com.weather.modules.weather.dailydata.entity.WeatherDailyDataEntity;

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

/**
 * 每日气象监测数据表
 *
 * @author 2333 123
 * @since 1.0.0 2026-03-05
 */
public interface WeatherDailyDataService extends CrudService<WeatherDailyDataEntity, WeatherDailyDataDto> {

    /**
     * 分页查询
     * @param params 查询参数
     * @return 分页数据
     */
    PageData<WeatherDailyDataDto> page(Map<String, Object> params);

    /**
     * 获取汇总气象数据
     * @param dto 参数
     * @return 响应数据
     */
    List<DailyWeatherSummarizeDto> dailyWeatherSummarize(WeatherDailyDataQueryDto dto);
}