package com.ho.business.service;

import com.ho.business.entity.IncomeTotal;
import com.ho.business.entity.Station;
import com.ho.business.vo.resp.report.CurrentMonthReportRespVO;
import com.ho.business.vo.resp.report.HistoryReportRespVO;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author gyan
 * @desc: TODO
 * @DateTime: 2023/2/15 19:50
 */
public interface IncomeTotalService {
    List<IncomeTotal> getDayPower(Station station, List<Integer> srcIdList, String startDayTime, String endDayTime);

    List<IncomeTotal> getByStations( List<Integer> stationIds, String startDayTime, String endDayTime);

    /**
     * 计算累计收益
     * @param groupId 集团id
     * @return
     */
    BigDecimal getSumIncome(Integer groupId);

    /**
     * 根据电站id查询到每一天的发电累计
     * @param stationId
     * @param beginTime
     * @param endTime
     * @return
     */
    List<CurrentMonthReportRespVO> getCurrentMonthReportByStationId(Integer stationId, Date beginTime, Date endTime);


    /**
     * 根据电站id查询到每一天的收益累计
     * @param stationId
     * @param beginTime
     * @param endTime
     * @return
     */
    List<HistoryReportRespVO> getHistoryReport(Integer stationId,Integer groupId, Date beginTime, Date endTime);
}
