From 146668ddccb7a5b81af8979a1ecdf5d5e2298cb8 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期日, 17 三月 2024 21:23:50 +0800
Subject: [PATCH] ERP接口
---
server/dmvisit_admin/src/main/java/com/doumee/task/ScheduleTool.java | 5 ++---
1 files changed, 2 insertions(+), 3 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 a0a3527..30104fd 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
@@ -74,7 +74,7 @@
hkSyncVisitFromHKService.syncVistAppointData(new Date());
Constants.DEALING_FROM_HK_VISIT =false;
}catch (Exception e){
- throw new BusinessException(ResponseStatus.SERVER_ERROR.getCode(), "瀵逛笉璧凤紝娴峰悍鍚屾鏁版嵁澶辫触~");
+// throw new BusinessException(ResponseStatus.SERVER_ERROR.getCode(), "瀵逛笉璧凤紝娴峰悍鍚屾鏁版嵁澶辫触~");
}finally {
Constants.DEALING_FROM_HK_VISIT =false;
}
@@ -131,9 +131,8 @@
* 瀹氭椂鍚屾鍐呴儴浜哄憳鎺堟潈鍒版捣搴风郴缁�
* @throws Exception
*/
- @Scheduled(fixedDelay= 60*1000)
+ @Scheduled(fixedDelay= 10*1000)
public void syncEmpowerData() {
-
hkSyncEmpowerService.syncEmpowerData();
}
/**
--
Gitblit v1.9.3