package com.ruoyi.predict.service.impl;

import com.ruoyi.predict.domain.NoscaleWfDaPfPeriodData;
import com.ruoyi.predict.mapper.NoscaleWfDaPfPeriodDataMapper;
import com.ruoyi.predict.service.INoscaleWfDaPfPeriodDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

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

/**
 * NoscaleWfDaPfPeriodDataService业务层处理
 *
 * @author hlf
 * @date 2021-07-07
 */
@Service
public class NoscaleWfDaPfPeriodDataServiceImpl implements INoscaleWfDaPfPeriodDataService {
    @Autowired(required = false)
    private NoscaleWfDaPfPeriodDataMapper noscaleWfDaPfPeriodDataMapper;

    /**
     * 查询NoscaleWfDaPfPeriodData
     *
     * @param windplantNo NoscaleWfDaPfPeriodDataID
     * @return NoscaleWfDaPfPeriodData
     */
    @Override
    public NoscaleWfDaPfPeriodData selectNoscaleWfDaPfPeriodDataById(Long windplantNo) {
        return noscaleWfDaPfPeriodDataMapper.selectNoscaleWfDaPfPeriodDataById(windplantNo);
    }

    /**
     * 查询NoscaleWfDaPfPeriodData列表
     *
     * @param noscaleWfDaPfPeriodData NoscaleWfDaPfPeriodData
     * @return NoscaleWfDaPfPeriodData
     */
    @Override
    public List<NoscaleWfDaPfPeriodData> selectNoscaleWfDaPfPeriodDataList(NoscaleWfDaPfPeriodData noscaleWfDaPfPeriodData) {
        return noscaleWfDaPfPeriodDataMapper.selectNoscaleWfDaPfPeriodDataList(noscaleWfDaPfPeriodData);
    }

    @Override
    public NoscaleWfDaPfPeriodData selectNoscaleWfDaPfPeriodDataByJh(Long windplantNo, Long modelNo, Date dataTime) {
        return noscaleWfDaPfPeriodDataMapper.selectNoscaleWfDaPfPeriodDataByJh(windplantNo, modelNo, dataTime);
    }

    @Override
    public List<NoscaleWfDaPfPeriodData> selectNoscaleWfDaPfPeriodData(Long windplantNo, Long modelNo, Date dataTime) {
        return noscaleWfDaPfPeriodDataMapper.selectNoscaleWfDaPfPeriodData(windplantNo, modelNo, dataTime);
    }
}
