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 | 15 ++++-----------
1 files changed, 4 insertions(+), 11 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 793ab54..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
@@ -19,7 +19,7 @@
import java.util.Date;
/**
- * 瀹氭椂浠诲姟
+ * 瀹氭椂浠诲姟锛堝簾寮冿級
* @author jiangping
* @date 2021-10-10 14:40:35
* https://www.bejson.com/othertools/cron/ cron 琛ㄨ揪寮忕敓鎴愬湴鍧�
@@ -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