package com.platform.yijia.service.impl;
import com.platform.yijia.dao.IntegralRuleMapper;
import com.platform.yijia.pojo.IntegralRule;
import com.platform.yijia.service.IntegralRuleService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;

@Service("integralRuleService")
public class IntegralRuleServiceImpl implements IntegralRuleService {
    @Resource
    private IntegralRuleMapper integralRuleMapper;

    //获取油站积分规则
    @Override
    public List<IntegralRule> getIntegralRule(IntegralRule integralRule) {
        return integralRuleMapper.getIntegralRule(integralRule);
    }
}
