src/main/java/com/zy/core/MainProcess.java
@@ -28,7 +28,7 @@ /** * =====>> 开始工作 */ public void start(){ public void start() { thread = new Thread(() -> { while (!Thread.currentThread().isInterrupted()) { try { @@ -40,6 +40,12 @@ if (!SystemProperties.WCS_RUNNING_STATUS.get()) { continue; } //zhangc //输送线 // 入库 // mainService.generateInboundWrk(); // 出库 // mainService.stnToOutStn(); //初始化实时地图 mainService.initRealtimeBasMap(); @@ -78,7 +84,7 @@ } @PreDestroy public void shutDown(){ public void shutDown() { if (thread != null) thread.interrupt(); }