From bd57081dc1bcd94e1e4043a9e0a7c6953d4bb9d4 Mon Sep 17 00:00:00 2001
From: nidapeng <jp@doumee.com>
Date: 星期一, 01 四月 2024 19:19:01 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/1.0.1' into 1.0.1
---
server/platform/src/main/java/com/doumee/task/ScheduleTool.java | 33 ++++++++++++++++++++++++++++++++-
1 files changed, 32 insertions(+), 1 deletions(-)
diff --git a/server/platform/src/main/java/com/doumee/task/ScheduleTool.java b/server/platform/src/main/java/com/doumee/task/ScheduleTool.java
index 075cf61..58da84c 100644
--- a/server/platform/src/main/java/com/doumee/task/ScheduleTool.java
+++ b/server/platform/src/main/java/com/doumee/task/ScheduleTool.java
@@ -31,10 +31,28 @@
* @throws Exception
*/
@Scheduled(fixedDelay= 60*1000,initialDelay = 30000)
+ public void startSignAuthAuto() throws Exception {
+ log.info("==============瀹氭椂娉ㄥ唽浼佷笟鍚涘瓙绛捐处鍙�=======start======");
+ companyService.startSignAuthAuto();
+ log.info("==============瀹氭椂娉ㄥ唽浼佷笟鍚涘瓙绛捐处鍙�======end=======");
+ }
+ /**
+ * @throws Exception
+ */
+ @Scheduled(fixedDelay= 60*1000,initialDelay = 30000)
public void dealComSignAuthStatus() throws Exception {
log.info("==============瀹氭椂鏌ヨ浼佷笟鐢靛瓙绛捐璇佺姸鎬�=======start======");
companyService.dealSignAuthStatus();
log.info("==============瀹氭椂鏌ヨ浼佷笟鐢靛瓙绛捐璇佺姸鎬�======end=======");
+ }
+ /**
+ * @throws Exception
+ */
+ @Scheduled(fixedDelay= 60*1000*2 ,initialDelay = 30000)
+ public void deal() throws Exception {
+ log.info("==============瀹氭椂鏌ヨ浼佷笟鐢靛瓙绛剧缃茬姸鎬�=======start======");
+ insuranceApplyService.dealWaitSignedData();
+ log.info("==============瀹氭椂鏌ヨ浼佷笟鐢靛瓙绛剧缃茬姸鎬�======end=======");
}
/**
* @throws Exception
@@ -54,9 +72,22 @@
@Scheduled(cron = "0 5 00 * * ?")
public void updateApplyCurrentFee(){
log.info("==============瀹氭椂鏇存柊淇濆崟瀹為檯閲戦=======start======");
- insuranceApplyService.updateApplyCurrentFee();
+ insuranceApplyService.updateApplyCurrentFee(null);
log.info("==============瀹氭椂鏇存柊淇濆崟瀹為檯閲戦======end=======");
}
+
+ /**
+ * 瀹氭椂鏇存柊鐢熸垚缁繚鎻愰啋
+ * @throws Exception
+ */
+ @Scheduled(cron = "0 1 00 * * ?")
+ public void generateNotice(){
+ log.info("==============瀹氭椂鏇存柊鐢熸垚缁繚鎻愰啋=======start======");
+ insuranceApplyService.generateNotice();
+ log.info("==============瀹氭椂鏇存柊鐢熸垚缁繚鎻愰啋======end=======");
+ }
+
+
}
--
Gitblit v1.9.3