package com.ruoyi.predict.service.impl;

import com.ruoyi.predict.domain.WfDaPfMonthData;
import com.ruoyi.predict.mapper.WfDaPfMonthDataMapper;
import com.ruoyi.predict.service.IWfDaPfMonthDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

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

/**
 * WfDaPfMonthDataService业务层处理
 *
 * @author hlf
 * @date 2021-07-14
 */
@Service
public class WfDaPfMonthDataServiceImpl implements IWfDaPfMonthDataService {
    @Autowired(required = false)
    private WfDaPfMonthDataMapper wfDaPfMonthDataMapper;

    /**
     * 查询WfDaPfMonthData
     *
     * @param windplantNo WfDaPfMonthDataID
     * @return WfDaPfMonthData
     */
    @Override
    public WfDaPfMonthData selectWfDaPfMonthDataById(Long windplantNo) {
        return wfDaPfMonthDataMapper.selectWfDaPfMonthDataById(windplantNo);
    }

    /**
     * 查询WfDaPfMonthData列表
     *
     * @param wfDaPfMonthData WfDaPfMonthData
     * @return WfDaPfMonthData
     */
    @Override
    public List<WfDaPfMonthData> selectWfDaPfMonthDataList(WfDaPfMonthData wfDaPfMonthData) {
        return wfDaPfMonthDataMapper.selectWfDaPfMonthDataList(wfDaPfMonthData);
    }

    @Override
    public WfDaPfMonthData selectWfDaPfMonthData(Long windplantNo, Long modelNo, Date dateTime) {
        return wfDaPfMonthDataMapper.selectWfDaPfMonthData(windplantNo, modelNo, dateTime);
    }
}
