自动化立体仓库 - WMS系统
zhang
昨天 8d90833250abee5951572659e9a192f2487cd704
src/main/java/com/zy/asrs/task/core/WcsDispatcher.java
@@ -30,7 +30,7 @@
    private ConfigService configService;
    @PostConstruct
    private void start(){
    private void start() {
        thread = new Thread(() -> {
            while (!Thread.currentThread().isInterrupted()) {
                try {
@@ -50,7 +50,7 @@
    }
    @PreDestroy
    public void shutDown(){
    public void shutDown() {
        if (thread != null)
            thread.interrupt();
        log.info("任务中心调度器已停止......");