From ead280567beb29e26e0980c6b3770815e6fe86d9 Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期日, 12 十一月 2023 10:09:14 +0800 Subject: [PATCH] 油烟统计 --- ycl-platform/src/main/java/com/ycl/timer/GetDingUserOrgTimer.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ycl-platform/src/main/java/com/ycl/timer/GetDingUserOrgTimer.java b/ycl-platform/src/main/java/com/ycl/timer/GetDingUserOrgTimer.java index 28e3e36..c85acea 100644 --- a/ycl-platform/src/main/java/com/ycl/timer/GetDingUserOrgTimer.java +++ b/ycl-platform/src/main/java/com/ycl/timer/GetDingUserOrgTimer.java @@ -52,11 +52,11 @@ @Override public void onApplicationEvent(ContextRefreshedEvent contextRefreshedEvent) { - if (contextRefreshedEvent.getApplicationContext().getParent() == null) { - Thread thread = new Thread(this::run); - thread.setUncaughtExceptionHandler(handler); - thread.start(); - } +// if (contextRefreshedEvent.getApplicationContext().getParent() == null) { +// Thread thread = new Thread(this::run); +// thread.setUncaughtExceptionHandler(handler); +// thread.start(); +// } } @Autowired @@ -204,6 +204,6 @@ @Override public void run(ApplicationArguments args) throws Exception { - run(); +// run(); } } -- Gitblit v1.8.0