package com.ruoyi.predict.service.impl;

import com.ruoyi.predict.domain.WtgDaEfMonthData;
import com.ruoyi.predict.mapper.WtgDaEfMonthDataMapper;
import com.ruoyi.predict.service.IWtgDaEfMonthDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

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

/**
 * WtgDaEfMonthDataService业务层处理
 *
 * @author hlf
 * @date 2021-08-11
 */
@Service
public class WtgDaEfMonthDataServiceImpl implements IWtgDaEfMonthDataService {
    @Autowired(required = false)
    private WtgDaEfMonthDataMapper wtgDaEfMonthDataMapper;

    /**
     * 查询WtgDaEfMonthData
     *
     * @param wturNo WtgDaEfMonthDataID
     * @return WtgDaEfMonthData
     */
    @Override
    public WtgDaEfMonthData selectWtgDaEfMonthDataById(Long wturNo) {
        return wtgDaEfMonthDataMapper.selectWtgDaEfMonthDataById(wturNo);
    }

    /**
     * 查询WtgDaEfMonthData列表
     *
     * @param wtgDaEfMonthData WtgDaEfMonthData
     * @return WtgDaEfMonthData
     */
    @Override
    public List<WtgDaEfMonthData> selectWtgDaEfMonthDataList(WtgDaEfMonthData wtgDaEfMonthData) {
        return wtgDaEfMonthDataMapper.selectWtgDaEfMonthDataList(wtgDaEfMonthData);
    }

    @Override
    public WtgDaEfMonthData selectWtgDaEfMonthData(Long wtgNo, Long modelNo, Date dateTime) {
        return wtgDaEfMonthDataMapper.selectWtgDaEfMonthData(wtgNo, modelNo, dateTime);
    }
}
