package com.ruoyi.predict.service.impl;

import com.ruoyi.predict.domain.WfDaEfMonthData;
import com.ruoyi.predict.mapper.WfDaEfMonthDataMapper;
import com.ruoyi.predict.service.IWfDaEfMonthDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

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

/**
 * WfDaEfMonthDataService业务层处理
 *
 * @author hlf
 * @date 2021-08-11
 */
@Service
public class WfDaEfMonthDataServiceImpl implements IWfDaEfMonthDataService {
    @Autowired(required = false)
    private WfDaEfMonthDataMapper wfDaEfMonthDataMapper;

    /**
     * 查询WfDaEfMonthData
     *
     * @param windplantNo WfDaEfMonthDataID
     * @return WfDaEfMonthData
     */
    @Override
    public WfDaEfMonthData selectWfDaEfMonthDataById(Long windplantNo) {
        return wfDaEfMonthDataMapper.selectWfDaEfMonthDataById(windplantNo);
    }

    /**
     * 查询WfDaEfMonthData列表
     *
     * @param wfDaEfMonthData WfDaEfMonthData
     * @return WfDaEfMonthData
     */
    @Override
    public List<WfDaEfMonthData> selectWfDaEfMonthDataList(WfDaEfMonthData wfDaEfMonthData) {
        return wfDaEfMonthDataMapper.selectWfDaEfMonthDataList(wfDaEfMonthData);
    }

    @Override
    public WfDaEfMonthData selectWfDaEfMonthData(Long windplantNo, Long modelNo, Date dateTime) {
        return wfDaEfMonthDataMapper.selectWfDaEfMonthData(windplantNo, modelNo, dateTime);
    }
}
