From a9ca0823ab8f33ca85abebcf6ec4a8da235adb49 Mon Sep 17 00:00:00 2001 From: jiangping <jp@doumee.com> Date: 星期二, 30 一月 2024 14:36:49 +0800 Subject: [PATCH] 开发业务接口 --- server/platform/src/main/java/com/doumee/task/ScheduleTool.java | 20 +++++++++++++++++++- 1 files changed, 19 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 028bde1..06d04c0 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*60,initialDelay = 30000) + public void deal() throws Exception { + log.info("==============瀹氭椂鏌ヨ浼佷笟鐢靛瓙绛剧缃茬姸鎬�=======start======"); + insuranceApplyService.dealWaitSignedData(); + log.info("==============瀹氭椂鏌ヨ浼佷笟鐢靛瓙绛剧缃茬姸鎬�======end======="); } /** * @throws Exception @@ -51,7 +69,7 @@ * 瀹氭椂鏇存柊淇濆崟閲戦 姣忓ぉ鍑屾櫒 12.05 鍒嗘墽琛� * @throws Exception */ - @Scheduled(cron = " 0 5 00 * * ?") + @Scheduled(cron = "0 5 00 * * ?") public void updateApplyCurrentFee(){ log.info("==============瀹氭椂鏇存柊淇濆崟瀹為檯閲戦=======start======"); insuranceApplyService.updateApplyCurrentFee(); -- Gitblit v1.9.3