#
vincentlu
2025-03-26 9c5628525900cc9f973af94c7b466eb95a2ec7ca
zy-acs-manager/src/main/java/com/zy/acs/manager/core/listen/AgvCompleteSubscriber.java
@@ -6,9 +6,10 @@
import com.zy.acs.manager.core.service.MainService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.event.ApplicationReadyEvent;
import org.springframework.context.event.EventListener;
import org.springframework.stereotype.Component;
import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;
/**
@@ -24,7 +25,7 @@
    @Autowired
    private MainService mainService;
    @PostConstruct
    @EventListener(ApplicationReadyEvent.class)
    private void start(){
        thread = new Thread(() -> {
            while (!Thread.currentThread().isInterrupted()) {