package com.ruoyi.predict.service.impl;

import com.ruoyi.predict.domain.PrTheoryenergyData;
import com.ruoyi.predict.mapper.PrTheoryenergyDataMapper;
import com.ruoyi.predict.service.IPrTheoryenergyDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

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

/**
 * PrTheoryenergyDataService业务层处理
 * 
 * @author hlf
 * @date 2022-11-08
 */
@Service
public class PrTheoryenergyDataServiceImpl implements IPrTheoryenergyDataService 
{
    @Autowired(required = false)
    private PrTheoryenergyDataMapper prTheoryenergyDataMapper;

    /**
     * 查询PrTheoryenergyData
     * 
     * @param windplantNo PrTheoryenergyDataID
     * @return PrTheoryenergyData
     */
    @Override
    public PrTheoryenergyData selectPrTheoryenergyDataById(Long windplantNo)
    {
        return prTheoryenergyDataMapper.selectPrTheoryenergyDataById(windplantNo);
    }

    /**
     * 查询PrTheoryenergyData列表
     * 
     * @param prTheoryenergyData PrTheoryenergyData
     * @return PrTheoryenergyData
     */
    @Override
    public List<PrTheoryenergyData> selectPrTheoryenergyDataList(PrTheoryenergyData prTheoryenergyData)
    {
        return prTheoryenergyDataMapper.selectPrTheoryenergyDataList(prTheoryenergyData);
    }

    @Override
    public List<PrTheoryenergyData> selectPrTheoryenergyData(Long windplantNo, Long projectNo, Date dataTime) {
        return prTheoryenergyDataMapper.selectPrTheoryenergyData(windplantNo, projectNo, dataTime);
    }
}
