package com.ruoyi.predict.service.impl;

import com.ruoyi.predict.domain.PstatModel;
import com.ruoyi.predict.mapper.PstatModelMapper;
import com.ruoyi.predict.service.IPstatModelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * PstatModelService业务层处理
 * 
 * @author hlf
 * @date 2022-01-26
 */
@Service
public class PstatModelServiceImpl implements IPstatModelService 
{
    @Autowired(required = false)
    private PstatModelMapper pstatModelMapper;

    /**
     * 查询PstatModel
     * 
     * @param pstatNo PstatModelID
     * @return PstatModel
     */
    @Override
    public PstatModel selectPstatModelById(Long pstatNo)
    {
        return pstatModelMapper.selectPstatModelById(pstatNo);
    }

    /**
     * 查询PstatModel列表
     * 
     * @param pstatModel PstatModel
     * @return PstatModel
     */
    @Override
    public List<PstatModel> selectPstatModelList(PstatModel pstatModel)
    {
        return pstatModelMapper.selectPstatModelList(pstatModel);
    }
}
