package com.ruoyi.predict.service.impl;

import com.ruoyi.predict.domain.WfDaPfDayData;
import com.ruoyi.predict.mapper.WfDaPfDayDataMapper;
import com.ruoyi.predict.service.IWfDaPfDayDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

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

/**
 * WfDaPfDayDataService业务层处理
 *
 * @author hlf
 * @date 2021-07-14
 */
@Service
public class WfDaPfDayDataServiceImpl implements IWfDaPfDayDataService {
    @Autowired(required = false)
    private WfDaPfDayDataMapper wfDaPfDayDataMapper;

    /**
     * 查询WfDaPfDayData
     *
     * @param windplantNo WfDaPfDayDataID
     * @return WfDaPfDayData
     */
    @Override
    public WfDaPfDayData selectWfDaPfDayDataById(Long windplantNo) {
        return wfDaPfDayDataMapper.selectWfDaPfDayDataById(windplantNo);
    }

    /**
     * 查询WfDaPfDayData列表
     *
     * @param wfDaPfDayData WfDaPfDayData
     * @return WfDaPfDayData
     */
    @Override
    public List<WfDaPfDayData> selectWfDaPfDayDataList(WfDaPfDayData wfDaPfDayData) {
        return wfDaPfDayDataMapper.selectWfDaPfDayDataList(wfDaPfDayData);
    }

    @Override
    public WfDaPfDayData selectWfDaPfDayData(Long windplantNo, Long modelNo, Date dateTime) {
        return wfDaPfDayDataMapper.selectWfDaPfDayData(windplantNo, modelNo, dateTime);
    }
}
