
package com.crm.ucard.service.impl;


import com.crm.rely.backend.core.pojo.table.SysKycConfigTable;
import com.crm.rely.backend.exception.ServiceException;
import com.crm.ucard.dao.repository.SysKycConfigRepository;
import com.crm.ucard.service.SysKycConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SysKycConfigServiceImpl implements SysKycConfigService {

    @Autowired
    private SysKycConfigRepository sysKycConfigRepository;

    @Override
    public SysKycConfigTable getByCodeAndCountryAndEnable(String code, String country,Integer enable) throws ServiceException {
        SysKycConfigTable sysKycConfigTable = sysKycConfigRepository.getByCodeAndCountryAndEnable(code,country,enable);
        return sysKycConfigTable;
    }

}
