package com.ruoyi.predict.service.impl;

import com.ruoyi.predict.domain.FormulaPara;
import com.ruoyi.predict.mapper.FormulaParaMapper;
import com.ruoyi.predict.service.IFormulaParaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * FormulaParaService业务层处理
 *
 * @author hlf
 * @date 2022-01-10
 */
@Service
public class FormulaParaServiceImpl implements IFormulaParaService {
    @Autowired(required = false)
    private FormulaParaMapper formulaParaMapper;

    /**
     * 查询FormulaPara
     *
     * @param formulaNo FormulaParaID
     * @return FormulaPara
     */
    @Override
    public FormulaPara selectFormulaParaById(Long formulaNo) {
        return formulaParaMapper.selectFormulaParaById(formulaNo);
    }

    /**
     * 查询FormulaPara列表
     *
     * @param formulaPara FormulaPara
     * @return FormulaPara
     */
    @Override
    public List<FormulaPara> selectFormulaParaList(FormulaPara formulaPara) {
        return formulaParaMapper.selectFormulaParaList(formulaPara);
    }
}
