From 3a86c9c6879971051ab1e01a5b9b88eed27e55db Mon Sep 17 00:00:00 2001
From: lishuai <260038442@qq.com>
Date: 星期五, 15 十二月 2023 17:57:29 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 server/dmvisit_admin/src/main/java/com/doumee/task/ScheduleTool.java |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 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 4955c56..3ad095e 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
@@ -2,6 +2,7 @@
 
 
 import com.doumee.service.business.impl.hksync.HkSyncImgServiceImpl;
+import com.doumee.service.business.impl.hksync.HkSyncOrgUserServiceImpl;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.beans.factory.annotation.Value;
 import org.springframework.scheduling.annotation.EnableScheduling;
@@ -20,6 +21,8 @@
 
     @Autowired
     private HkSyncImgServiceImpl hkSyncImgService;
+    @Autowired
+    private HkSyncOrgUserServiceImpl hkSyncOrgUserService;
     /**
      * 鏄惁寮�鍙戣��
      */
@@ -35,5 +38,21 @@
     public void downloadHkImg() throws Exception {
         hkSyncImgService.downHKImgs(0);
     }
+    /**
+     * 瀹氭椂鍚屾缁勭粐淇℃伅鍒版捣搴风郴缁�
+     * @throws Exception
+     */
+    @Scheduled(fixedDelay= 60*1000)
+    public void syncOrgData() {
+        hkSyncOrgUserService.syncOrgData();
+    }
+    /**
+     * 瀹氭椂鍚屾鐢ㄦ埛淇℃伅鍒版捣搴风郴缁�
+     * @throws Exception
+     */
+    @Scheduled(fixedDelay= 60*1000)
+    public void syncUserData()  {
+        hkSyncImgService.syncUserData();
+    }
 
 }

--
Gitblit v1.9.3