From 5eb83797abed1a572ca59cb2972171b18e3d46b2 Mon Sep 17 00:00:00 2001 From: zjj <3272660260@qq.com> Date: 星期三, 13 十一月 2024 15:04:52 +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