package com.jeeplus.modules.sg.overheadline.service;

import com.jeeplus.modules.sg.overheadline.entity.RuleRatio;
import com.jeeplus.modules.sg.overheadline.mapper.RuleRatioMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RuleRatioService {
    @Autowired
    private RuleRatioMapper ruleRatioMapper;


   public RuleRatio getValueByName(String ratioName){
       return ruleRatioMapper.getValue(ratioName);
   }


}
