package com.zcloud.basic.info.service;

import com.zcloud.basic.info.persistence.dataobject.CorpInfoKeyDO;
import com.zcloud.basic.info.persistence.repository.CorpInfoKeyRepository;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

@Service
@RequiredArgsConstructor
public class CorpInfoKeyService {

    private final CorpInfoKeyRepository corpInfoKeyRepository;

    public CorpInfoKeyDO getByCorpinfoId(Long corpinfoId) {
        return corpInfoKeyRepository.getByCorpinfoId(corpinfoId);
    }
}
