package com.ruoyi.predict.service.impl;

import com.ruoyi.predict.domain.WtgDaEfDayData;
import com.ruoyi.predict.mapper.WtgDaEfDayDataMapper;
import com.ruoyi.predict.service.IWtgDaEfDayDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

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

/**
 * WtgDaEfDayDataService业务层处理
 *
 * @author hlf
 * @date 2021-08-11
 */
@Service
public class WtgDaEfDayDataServiceImpl implements IWtgDaEfDayDataService {
    @Autowired(required = false)
    private WtgDaEfDayDataMapper wtgDaEfDayDataMapper;

    /**
     * 查询WtgDaEfDayData
     *
     * @param wturNo WtgDaEfDayDataID
     * @return WtgDaEfDayData
     */
    @Override
    public WtgDaEfDayData selectWtgDaEfDayDataById(Long wturNo) {
        return wtgDaEfDayDataMapper.selectWtgDaEfDayDataById(wturNo);
    }

    /**
     * 查询WtgDaEfDayData列表
     *
     * @param wtgDaEfDayData WtgDaEfDayData
     * @return WtgDaEfDayData
     */
    @Override
    public List<WtgDaEfDayData> selectWtgDaEfDayDataList(WtgDaEfDayData wtgDaEfDayData) {
        return wtgDaEfDayDataMapper.selectWtgDaEfDayDataList(wtgDaEfDayData);
    }

    @Override
    public WtgDaEfDayData selectWtgDaEfDayData(Long wtgNo, Long modelNo, Date dateTime) {
        return wtgDaEfDayDataMapper.selectWtgDaEfDayData(wtgNo, modelNo, dateTime);
    }
}
