package com.ruoyi.predict.service.impl;

import com.ruoyi.predict.domain.WfUspMonthData;
import com.ruoyi.predict.mapper.WfUspMonthDataMapper;
import com.ruoyi.predict.service.IWfUspMonthDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

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

/**
 * WfUspMonthDataService业务层处理
 *
 * @author hlf
 * @date 2021-08-16
 */
@Service
public class WfUspMonthDataServiceImpl implements IWfUspMonthDataService {
    @Autowired(required = false)
    private WfUspMonthDataMapper wfUspMonthDataMapper;

    /**
     * 查询WfUspMonthData
     *
     * @param windplantNo WfUspMonthDataID
     * @return WfUspMonthData
     */
    @Override
    public WfUspMonthData selectWfUspMonthDataById(Long windplantNo) {
        return wfUspMonthDataMapper.selectWfUspMonthDataById(windplantNo);
    }

    /**
     * 查询WfUspMonthData列表
     *
     * @param wfUspMonthData WfUspMonthData
     * @return WfUspMonthData
     */
    @Override
    public List<WfUspMonthData> selectWfUspMonthDataList(WfUspMonthData wfUspMonthData) {
        return wfUspMonthDataMapper.selectWfUspMonthDataList(wfUspMonthData);
    }

    @Override
    public WfUspMonthData selectWfUspMonthData(Long windplantNo, Long modelNo, Long timeScale, Date dateTime) {
        return wfUspMonthDataMapper.selectWfUspMonthData(windplantNo, modelNo, timeScale, dateTime);
    }
}
