From b0ea50dd24a7ed5ada38dc6c8209f78fc09f0441 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 21 六月 2024 17:45:33 +0800
Subject: [PATCH] 修复bug

---
 server/dmvisit_admin/src/main/java/com/doumee/task/ScheduleTool.java |   17 +++++------------
 1 files changed, 5 insertions(+), 12 deletions(-)

diff --git a/server/dmvisit_admin/src/main/java/com/doumee/task/ScheduleTool.java b/server/dmvisit_admin/src/main/java/com/doumee/task/ScheduleTool.java
index 5794c0d..5cc9bcd 100644
--- a/server/dmvisit_admin/src/main/java/com/doumee/task/ScheduleTool.java
+++ b/server/dmvisit_admin/src/main/java/com/doumee/task/ScheduleTool.java
@@ -24,8 +24,8 @@
  * @date 2021-10-10 14:40:35
  * https://www.bejson.com/othertools/cron/  cron 琛ㄨ揪寮忕敓鎴愬湴鍧�
  */
-//@Component
-//@EnableScheduling
+@Component
+@EnableScheduling
 public class ScheduleTool {
 
     @Autowired
@@ -64,7 +64,7 @@
      * 姣忓垎閽熸媺鍙栦竴娆′粖鏃ョ殑璁垮棰勭害鏁版嵁
      * @throws Exception
      */
-    @Scheduled(fixedRate= 30*1000)
+    @Scheduled(fixedRate= 3*60*1000)
     public void syncVistAppointData() throws Exception {
         if(Constants.DEALING_FROM_HK_VISIT){
             return ;
@@ -152,19 +152,12 @@
     public void syncEmpowerDetailData()  {
         hkSyncEmpowerService.syncEmpowerDetailData();
     }*/
-    /**
-     * 瀹氭椂鍚屾杞﹁締鍖呮湡鍒版捣搴风郴缁�
-     * @throws Exception
-     */
-    @Scheduled(fixedRate= 60*1000)
-    public void syncParkBookData()  {
-        hkSyncParkService.syncParkBookData();
-    }
+
 
     /**
      * 瀹氭椂鍐荤粨鍐呴儴浜哄憳
      */
-    @Scheduled(fixedRate= 60*1000)
+//    @Scheduled(fixedRate= 60*1000)
     public void memberFreeze()  {
         memberService.memberFreeze();
     }

--
Gitblit v1.9.3