# SorterExecInqServiceImpl.java

    package com.mycim.server.sorter.exec.service;

    import com.alipay.sofa.runtime.api.annotation.SofaService;
    import com.alipay.sofa.runtime.api.annotation.SofaServiceBinding;
    import com.mycim.server.sorter.exec.manager.SorterExecInqManager;
    import com.mycim.valueobject.sorter.SorterModel;
    import com.mycim.valueobject.wip.Lot;
    import org.springframework.beans.factory.annotation.Autowired;
    import org.springframework.stereotype.Service;
    import org.springframework.transaction.annotation.Transactional;

    @Service
    @Transactional
    @SofaService(interfaceType = SorterExecInqService.class, bindings = {@SofaServiceBinding(bindingType = "bolt")})
    public class SorterExecInqServiceImpl implements SorterExecInqService {
        @Autowired
        SorterExecInqManager sorterExecInqManager;

        @Override
        public SorterModel checkSorterModelAndCreateInLineSorterJob(Lot lot, String equipmentId, String targetCarrierId) {
            return sorterExecInqManager.checkSorterModelAndCreateInLineSorterJob(lot, equipmentId, targetCarrierId);
        }

        @Override
        public SorterModel checkSorterModel(String carrierId, String equipmentId) {
            return sorterExecInqManager.checkSorterModel(carrierId, equipmentId);
        }

    }