package com.hzs.system.config.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hzs.common.domain.system.config.BdAreaCurrencyDetail;
import com.hzs.common.domain.system.config.ext.BdAreaCurrencyDetailExt;
import com.hzs.system.config.mapper.BdAreaCurrencyDetailMapper;
import com.hzs.system.config.service.IBdAreaCurrencyDetailService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 消费配置详情表 服务实现类
 */
@Service
public class BdAreaCurrencyDetailServiceImpl extends ServiceImpl<BdAreaCurrencyDetailMapper, BdAreaCurrencyDetail> implements IBdAreaCurrencyDetailService {

    @Override
    public BdAreaCurrencyDetail getSumDeductRatio(BdAreaCurrencyDetail areaCurrencyDetail) {
        return baseMapper.getSumDeductRatio(areaCurrencyDetail);
    }

    @Override
    public BdAreaCurrencyDetail checkDeductSort(BdAreaCurrencyDetail areaCurrencyDetail) {
        return baseMapper.checkDeductSort(areaCurrencyDetail);
    }

    @Override
    public List<BdAreaCurrencyDetailExt> getAreaCurrencyDetailList(BdAreaCurrencyDetailExt areaCurrencyDetailExt) {
        return baseMapper.getAreaCurrencyDetailList(areaCurrencyDetailExt);
    }

}
