package com.hzs.system.config.provider;

import com.hzs.common.core.domain.R;
import com.hzs.common.domain.system.config.ext.BdWithdrawalTaxExt;
import com.hzs.system.config.IWithdrawalTaxServiceApi;
import com.hzs.system.config.service.IBdWithdrawalTaxService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description: 提现配置的dubbo服务类
 */
@DubboService
public class WithdrawalTaxServiceProvider implements IWithdrawalTaxServiceApi {

    @Autowired
    private IBdWithdrawalTaxService iBdWithdrawalTaxService;

    /**
     * @description: 根据国家查询个税明细
     **/
    @Override
    public R<BdWithdrawalTaxExt> queryWithdrawalTax(Integer pkCountry) {
        return R.ok(iBdWithdrawalTaxService.queryWithdrawalTax(pkCountry));
    }

}
