Administrator
8 天以前 aa33e56e37cd19b88ae8eea69c5ebc7c6da8b1d2
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("任务中心调度器已停止......");