package com.ruoyi.predict.service.impl;

import com.ruoyi.predict.domain.HistorydataPoint;
import com.ruoyi.predict.mapper.HistorydataPointMapper;
import com.ruoyi.predict.service.IHistorydataPointService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * HistorydataPointService业务层处理
 *
 * @author hlf
 * @date 2022-01-10
 */
@Service
public class HistorydataPointServiceImpl implements IHistorydataPointService {
    @Autowired(required = false)
    private HistorydataPointMapper historydataPointMapper;

    /**
     * 查询HistorydataPoint
     *
     * @param nohis HistorydataPointID
     * @return HistorydataPoint
     */
    @Override
    public HistorydataPoint selectHistorydataPointById(Long nohis) {
        return historydataPointMapper.selectHistorydataPointById(nohis);
    }

    /**
     * 查询HistorydataPoint列表
     *
     * @param historydataPoint HistorydataPoint
     * @return HistorydataPoint
     */
    @Override
    public List<HistorydataPoint> selectHistorydataPointList(HistorydataPoint historydataPoint) {
        return historydataPointMapper.selectHistorydataPointList(historydataPoint);
    }
}
