package com.ruoyi.predict.service.impl;

import com.ruoyi.predict.domain.WtgDaPfMonthData;
import com.ruoyi.predict.mapper.WtgDaPfMonthDataMapper;
import com.ruoyi.predict.service.IWtgDaPfMonthDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

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

/**
 * WtgDaPfMonthDataService业务层处理
 *
 * @author hlf
 * @date 2021-08-06
 */
@Service
public class WtgDaPfMonthDataServiceImpl implements IWtgDaPfMonthDataService {
    @Autowired(required = false)
    private WtgDaPfMonthDataMapper wtgDaPfMonthDataMapper;

    /**
     * 查询WtgDaPfMonthData
     *
     * @param wturNo WtgDaPfMonthDataID
     * @return WtgDaPfMonthData
     */
    @Override
    public WtgDaPfMonthData selectWtgDaPfMonthDataById(Long wturNo) {
        return wtgDaPfMonthDataMapper.selectWtgDaPfMonthDataById(wturNo);
    }

    /**
     * 查询WtgDaPfMonthData列表
     *
     * @param wtgDaPfMonthData WtgDaPfMonthData
     * @return WtgDaPfMonthData
     */
    @Override
    public List<WtgDaPfMonthData> selectWtgDaPfMonthDataList(WtgDaPfMonthData wtgDaPfMonthData) {
        return wtgDaPfMonthDataMapper.selectWtgDaPfMonthDataList(wtgDaPfMonthData);
    }

    @Override
    public WtgDaPfMonthData selectWtgDaPfMonthData(Long wtgNo, Long modelNo, Date dateTime) {
        return wtgDaPfMonthDataMapper.selectWtgDaPfMonthData(wtgNo, modelNo, dateTime);
    }
}
