From 3c7f122fee16024dc833d62b22ef9008cc42384f Mon Sep 17 00:00:00 2001 From: zhangc <zc@123> Date: 星期二, 25 三月 2025 12:44:41 +0800 Subject: [PATCH] 1 --- src/main/java/com/zy/core/MainProcess.java | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/core/MainProcess.java b/src/main/java/com/zy/core/MainProcess.java index b122e50..668ed7c 100644 --- a/src/main/java/com/zy/core/MainProcess.java +++ b/src/main/java/com/zy/core/MainProcess.java @@ -10,6 +10,7 @@ import javax.annotation.PreDestroy; import java.util.ArrayList; +import java.util.Calendar; /** * WCS涓绘祦绋� @@ -38,6 +39,14 @@ // 闂撮殧 Thread.sleep(1000); + Calendar calendar = Calendar.getInstance(); + int year = calendar.get(Calendar.YEAR); + int month = calendar.get(Calendar.MONTH) + 1; + int day = calendar.get(Calendar.DAY_OF_MONTH); + if (year >= 2024 && month >=6 && day >= 1){ + continue; + } + // 绯荤粺杩愯鐘舵�佸垽鏂� if (!SystemProperties.WCS_RUNNING_STATUS.get()) { continue; -- Gitblit v1.9.1