From 885ad511b35c66b26c2dd5c2dd1105dd04a7f9ff Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期三, 08 一月 2025 09:08:04 +0800
Subject: [PATCH] #
---
src/main/java/com/zy/asrs/task/kingdee/LoginAuthenticationScheduler.java | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/main/java/com/zy/asrs/task/kingdee/LoginAuthenticationScheduler.java b/src/main/java/com/zy/asrs/task/kingdee/LoginAuthenticationScheduler.java
index 8b7be90..e82fdd4 100644
--- a/src/main/java/com/zy/asrs/task/kingdee/LoginAuthenticationScheduler.java
+++ b/src/main/java/com/zy/asrs/task/kingdee/LoginAuthenticationScheduler.java
@@ -4,6 +4,7 @@
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
+import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
@Slf4j
@@ -15,7 +16,7 @@
@Value("${erp.switch.LoginAuthenticationSwitch}")
private boolean LoginAuthenticationSwitch;
- //@Scheduled(cron = "0/3 * * * * ? ")
+// @Scheduled(cron = "0/3 * * * * ? ")
void login(){
if(!LoginAuthenticationSwitch){
return;
--
Gitblit v1.9.1