package com.ruoyi.predict.service.impl;

import com.ruoyi.predict.domain.PrTheorypowerData;
import com.ruoyi.predict.mapper.PrTheorypowerDataMapper;
import com.ruoyi.predict.service.IPrTheorypowerDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

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

/**
 * PrTheorypowerDataService业务层处理
 * 
 * @author hlf
 * @date 2022-11-08
 */
@Service
public class PrTheorypowerDataServiceImpl implements IPrTheorypowerDataService 
{
    @Autowired(required = false)
    private PrTheorypowerDataMapper prTheorypowerDataMapper;

    /**
     * 查询PrTheorypowerData
     * 
     * @param windplantNo PrTheorypowerDataID
     * @return PrTheorypowerData
     */
    @Override
    public PrTheorypowerData selectPrTheorypowerDataById(Long windplantNo)
    {
        return prTheorypowerDataMapper.selectPrTheorypowerDataById(windplantNo);
    }

    /**
     * 查询PrTheorypowerData列表
     * 
     * @param prTheorypowerData PrTheorypowerData
     * @return PrTheorypowerData
     */
    @Override
    public List<PrTheorypowerData> selectPrTheorypowerDataList(PrTheorypowerData prTheorypowerData)
    {
        return prTheorypowerDataMapper.selectPrTheorypowerDataList(prTheorypowerData);
    }

    @Override
    public List<PrTheorypowerData> selectPrTheorypowerData(Long windplantNo, Long projectNo, Date dataTime) {
        return prTheorypowerDataMapper.selectPrTheorypowerData(windplantNo, projectNo, dataTime);
    }
}
