From fe3fd82f31b4fb43f6b207715a443e96d0442b26 Mon Sep 17 00:00:00 2001
From: nidapeng <jp@doumee.com>
Date: 星期二, 02 四月 2024 16:38:52 +0800
Subject: [PATCH] 提交一把
---
server/platform/src/main/java/com/doumee/task/ScheduleTool.java | 12 ++++++++++--
1 files changed, 10 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 270fced..694ce40 100644
--- a/server/platform/src/main/java/com/doumee/task/ScheduleTool.java
+++ b/server/platform/src/main/java/com/doumee/task/ScheduleTool.java
@@ -4,6 +4,7 @@
import com.doumee.dao.business.model.InsuranceApply;
import com.doumee.service.business.CompanyService;
import com.doumee.service.business.InsuranceApplyService;
+import com.doumee.service.business.UnionApplyService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.EnableScheduling;
@@ -16,8 +17,8 @@
* @date 2021-10-10 14:40:35
* https://www.bejson.com/othertools/cron/ cron 琛ㄨ揪寮忕敓鎴愬湴鍧�
*/
-//@Component
-//@EnableScheduling
+@Component
+@EnableScheduling
@Slf4j
public class ScheduleTool {
@Autowired
@@ -25,6 +26,9 @@
@Autowired
private InsuranceApplyService insuranceApplyService;
+
+ @Autowired
+ private UnionApplyService unionApplyService;
/**
@@ -74,6 +78,10 @@
log.info("==============瀹氭椂鏇存柊淇濆崟瀹為檯閲戦=======start======");
insuranceApplyService.updateApplyCurrentFee(null);
log.info("==============瀹氭椂鏇存柊淇濆崟瀹為檯閲戦======end=======");
+
+ log.info("==============瀹氭椂鏇存柊鍚堝苟鍗曞疄闄呴噾棰�=======start======");
+ unionApplyService.updateUnionApplyCurrentFee(null);
+ log.info("==============瀹氭椂鏇存柊鍚堝苟鍗曞疄闄呴噾棰�======end=======");
}
--
Gitblit v1.9.3