# ElogSheetQueryServiceImpl.java

    package com.mycim.server.wip.service;

    import com.alipay.sofa.runtime.api.annotation.SofaService;
    import com.alipay.sofa.runtime.api.annotation.SofaServiceBinding;
    import com.mycim.server.wip.manager.ElogSheetQueryManager;
    import com.mycim.valueobject.wip.ElogSheet;
    import com.mycim.valueobject.wip.ElogSubSheet;
    import org.springframework.beans.factory.annotation.Autowired;
    import org.springframework.stereotype.Service;

    import java.util.List;

    /**
     * @author finatice.yang
     * @date 2021/7/20
     **/
    @Service
    @SofaService(interfaceType = ElogSheetQueryService.class, bindings = {@SofaServiceBinding(bindingType = "bolt")})
    public class ElogSheetQueryServiceImpl implements ElogSheetQueryService {

        @Autowired
        ElogSheetQueryManager elogSheetQueryManager;

        @Override
        public ElogSheet getElogSheetEvent(Long elogSheetRrn) {
            return elogSheetQueryManager.getElogSheetEvent(elogSheetRrn);
        }

        @Override
        public ElogSubSheet getElogSubSheetEventBySubSheetRrn(Long elogSubSheetRrn) {
            return elogSheetQueryManager.getElogSubSheetEventBySubSheetRrn(elogSubSheetRrn);
        }

        @Override
        public List<ElogSubSheet> getElogSubSheetEventList(Long elogSheetRrn) {
            return elogSheetQueryManager.getElogSubSheetEventList(elogSheetRrn);
        }

    }