package com.ruoyi.predict.service.impl;

import com.ruoyi.predict.domain.MvPoint;
import com.ruoyi.predict.mapper.MvPointMapper;
import com.ruoyi.predict.service.IMvPointService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * MvPointService业务层处理
 *
 * @author hlf
 * @date 2022-01-10
 */
@Service
public class MvPointServiceImpl implements IMvPointService {
    @Autowired(required = false)
    private MvPointMapper mvPointMapper;

    /**
     * 查询MvPoint
     *
     * @param windplantNo MvPointID
     * @return MvPoint
     */
    @Override
    public MvPoint selectMvPointById(Long windplantNo, Long mvNo) {
        return mvPointMapper.selectMvPointById(windplantNo, mvNo);
    }

    /**
     * 查询MvPoint列表
     *
     * @param mvPoint MvPoint
     * @return MvPoint
     */
    @Override
    public List<MvPoint> selectMvPointList(MvPoint mvPoint) {
        return mvPointMapper.selectMvPointList(mvPoint);
    }
}
