From c61e6f0b4c128247b81d48f1ccbd999d439d2544 Mon Sep 17 00:00:00 2001
From: nidapeng <jp@doumee.com>
Date: 星期一, 22 四月 2024 11:30:52 +0800
Subject: [PATCH] 最新版本
---
server/admin_timer/src/main/java/com/doumee/task/ScheduleCommonTool.java | 44 ++++----------------------------------------
1 files changed, 4 insertions(+), 40 deletions(-)
diff --git a/server/admin_timer/src/main/java/com/doumee/task/ScheduleCommonTool.java b/server/admin_timer/src/main/java/com/doumee/task/ScheduleCommonTool.java
index 64d1a6e..2a6b41e 100644
--- a/server/admin_timer/src/main/java/com/doumee/task/ScheduleCommonTool.java
+++ b/server/admin_timer/src/main/java/com/doumee/task/ScheduleCommonTool.java
@@ -25,16 +25,12 @@
* @date 2021-10-10 14:40:35
* https://www.bejson.com/othertools/cron/ cron 琛ㄨ揪寮忕敓鎴愬湴鍧�
*/
-@Component
-@EnableScheduling
+//@Component
+//@EnableScheduling
public class ScheduleCommonTool {
@Autowired
- private HkSyncParkServiceImpl hkSyncParkService;
- @Autowired
private HkSyncImgServiceImpl hkSyncImgService;
- @Autowired
- private HkSyncEmpowerServiceImpl hkSyncEmpowerService;
@Autowired
private HkSyncOrgUserToHKServiceImpl hkSyncOrgUserService;
@Autowired
@@ -128,44 +124,12 @@
public void syncVisitData() {
hkSyncVisitService.syncVisitData();
}
- /* *//**
- * 瀹氭椂鍚屾鍐呴儴浜哄憳鎺堟潈鍒版捣搴风郴缁�
- * @throws Exception
- *//*
- @Scheduled(fixedRate= 3*1000)
- public void syncEmpowerData() {
- hkSyncEmpowerService.syncEmpowerData();
- }
- *//**
- * 瀹氭椂鏌ヨ浜哄憳涓嬪彂娴峰悍缁撴灉锛堜换鍔℃槸鍚﹀凡涓嬭浇缁撴潫锛�
- * @throws Exception
- *//*
- @Scheduled(fixedRate= 60*1000)
- public void syncEmpowerResultData() {
- hkSyncEmpowerService.syncEmpowerResultData();
- }
- */
- /**
- * 瀹氭椂鏌ヨ浜哄憳瀹為檯涓嬪彂鏉冮檺缁撴灉锛屾槸鍚﹀凡缁忎笅杞芥垚鍔�
- * @throws Exception
- *//*
- @Scheduled(fixedRate= 60*1000)
- 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