From 8dc3482deec2f25a0618f7ae1f62a1ce07116d7a Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期三, 09 八月 2023 13:52:18 +0800
Subject: [PATCH] 1

---
 src/main/java/com/moon/server/config/ScheduleConfig.java |   23 -----------------------
 1 files changed, 0 insertions(+), 23 deletions(-)

diff --git a/src/main/java/com/moon/server/config/ScheduleConfig.java b/src/main/java/com/moon/server/config/ScheduleConfig.java
index 4b67724..4081942 100644
--- a/src/main/java/com/moon/server/config/ScheduleConfig.java
+++ b/src/main/java/com/moon/server/config/ScheduleConfig.java
@@ -91,27 +91,4 @@
             log.error(ex.getMessage(), ex);
         }
     }
-
-    /**
-     * 鍚屾闄勪欢
-     */
-    @Scheduled(fixedRate = 30 * 1000)
-    public void syncAttaches() {
-        try {
-            List<FmeLogEntity> list = attachService.selectFmeLogs();
-            if (isBusy || null == list || list.isEmpty()) {
-                return;
-            }
-
-            isBusy = true;
-            for (FmeLogEntity entity : list) {
-                attachService.syncAttaches(entity);
-                attachService.updateFmeLog(entity.getId());
-            }
-            isBusy = false;
-        } catch (Exception ex) {
-            isBusy = false;
-            log.error(ex.getMessage(), ex);
-        }
-    }
 }

--
Gitblit v1.9.3