From a68bf12a2975405f57f9a9d51b91c13a93c026f0 Mon Sep 17 00:00:00 2001 From: MrShi <1878285526@qq.com> Date: 星期三, 31 一月 2024 21:01:36 +0800 Subject: [PATCH] Mr.Shi --- server/platform/src/main/java/com/doumee/task/ScheduleTool.java | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 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 3edcc84..ba0fe87 100644 --- a/server/platform/src/main/java/com/doumee/task/ScheduleTool.java +++ b/server/platform/src/main/java/com/doumee/task/ScheduleTool.java @@ -31,6 +31,15 @@ * @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(); @@ -39,7 +48,7 @@ /** * @throws Exception */ - @Scheduled(fixedDelay= 60*1000*60,initialDelay = 30000) + @Scheduled(fixedDelay= 60*1000*2 ,initialDelay = 30000) public void deal() throws Exception { log.info("==============瀹氭椂鏌ヨ浼佷笟鐢靛瓙绛剧缃茬姸鎬�=======start======"); insuranceApplyService.dealWaitSignedData(); @@ -63,7 +72,7 @@ @Scheduled(cron = "0 5 00 * * ?") public void updateApplyCurrentFee(){ log.info("==============瀹氭椂鏇存柊淇濆崟瀹為檯閲戦=======start======"); - insuranceApplyService.updateApplyCurrentFee(); + insuranceApplyService.updateApplyCurrentFee(null); log.info("==============瀹氭椂鏇存柊淇濆崟瀹為檯閲戦======end======="); } -- Gitblit v1.9.3