package com.ruoyi.predict.service.impl;

import com.ruoyi.predict.domain.WfDaEfDayData;
import com.ruoyi.predict.mapper.WfDaEfDayDataMapper;
import com.ruoyi.predict.service.IWfDaEfDayDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

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

/**
 * WfDaEfDayDataService业务层处理
 *
 * @author hlf
 * @date 2021-08-11
 */
@Service
public class WfDaEfDayDataServiceImpl implements IWfDaEfDayDataService {
    @Autowired(required = false)
    private WfDaEfDayDataMapper wfDaEfDayDataMapper;

    /**
     * 查询WfDaEfDayData
     *
     * @param windplantNo WfDaEfDayDataID
     * @return WfDaEfDayData
     */
    @Override
    public WfDaEfDayData selectWfDaEfDayDataById(Long windplantNo) {
        return wfDaEfDayDataMapper.selectWfDaEfDayDataById(windplantNo);
    }

    /**
     * 查询WfDaEfDayData列表
     *
     * @param wfDaEfDayData WfDaEfDayData
     * @return WfDaEfDayData
     */
    @Override
    public List<WfDaEfDayData> selectWfDaEfDayDataList(WfDaEfDayData wfDaEfDayData) {
        return wfDaEfDayDataMapper.selectWfDaEfDayDataList(wfDaEfDayData);
    }

    @Override
    public WfDaEfDayData selectWfDaEfDayData(Long windplantNo, Long modelNo, Date dateTime) {
        return wfDaEfDayDataMapper.selectWfDaEfDayData(windplantNo, modelNo, dateTime);
    }
}
