From d4daea691450958841e393fe56ae20472c9a9382 Mon Sep 17 00:00:00 2001 From: lsh <lsh@163.com> Date: 星期六, 22 六月 2024 18:00:27 +0800 Subject: [PATCH] # --- src/main/java/com/zy/core/MainProcess.java | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/zy/core/MainProcess.java b/src/main/java/com/zy/core/MainProcess.java index 69ad5fe..50418ca 100644 --- a/src/main/java/com/zy/core/MainProcess.java +++ b/src/main/java/com/zy/core/MainProcess.java @@ -36,6 +36,9 @@ thread = new Thread(() -> { while (!Thread.currentThread().isInterrupted()) { try { + k++; if (k>10) k=0; + i++; if (i>5) i=0; + j++; if (j>5) j=0; // 闂撮殧 Thread.sleep(1000); @@ -76,10 +79,6 @@ mainService.storeFinishedTwo(); } - i++; - if (i>5){ - i=0; - } // // 寮傚父淇℃伅璁板綍 // mainService.recErr(); @@ -97,7 +96,7 @@ /************************************JAR璋冨害************************************/ //寮�闂ㄣ�佸叆纭寲缃� - mainService.jarWrkMastExecuteGenerate(); + mainService.jarWrkMastExecuteGenerate(k); //Jar浠诲姟鍒涘缓 //瀹屾垚 mainService.jarMastGenerate(); -- Gitblit v1.9.1