pang.jiabao
4 天以前 a1e94379b115721b2e604070dc48063b8016f72f
src/main/java/com/zy/asrs/task/core/WcsDispatcher.java
@@ -23,7 +23,7 @@
    private ConfigService configService;
    @PostConstruct
    private void start(){
    private void start() {
        thread = new Thread(() -> {
            while (!Thread.currentThread().isInterrupted()) {
                try {
@@ -43,7 +43,7 @@
    }
    @PreDestroy
    public void shutDown(){
    public void shutDown() {
        if (thread != null)
            thread.interrupt();
        log.info("任务中心调度器已停止......");