# CarrierInqManagerImpl.java

    package com.mycim.server.carrier.manager.impl;

    import com.mycim.server.carrier.dao.CarrierInqDAO;
    import com.mycim.server.carrier.manager.CarrierInqManager;
    import com.mycim.valueobject.ems.Carrier;
    import org.springframework.beans.factory.annotation.Autowired;
    import org.springframework.stereotype.Service;

    /**
     * @author finatice.yang
     * @date 2021/12/23
     **/
    @Service
    public class CarrierInqManagerImpl implements CarrierInqManager {

        @Autowired
        CarrierInqDAO carrierInqDAO;

        @Override
        public String getCarrierId(Long carrierRrn) {
            return carrierInqDAO.getCarrierId(carrierRrn);
        }

        @Override
        public Long getCarrierRrn(String carrierId) {
            return carrierInqDAO.getCarrierRrn(carrierId);
        }

        @Override
        public Carrier getCarrier(Long carrierRrn) {
            return carrierInqDAO.getCarrier(carrierRrn);
        }

    }