From 9c3b7a36bae52bc97ef06c03178b862f5166866b Mon Sep 17 00:00:00 2001 From: jiangping <jp@doumee.com> Date: 星期三, 08 十一月 2023 14:28:42 +0800 Subject: [PATCH] a --- server/platform/src/main/java/com/doumee/task/ScheduleTool.java | 9 +++------ 1 files changed, 3 insertions(+), 6 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 cb4c2c2..f9f421b 100644 --- a/server/platform/src/main/java/com/doumee/task/ScheduleTool.java +++ b/server/platform/src/main/java/com/doumee/task/ScheduleTool.java @@ -31,8 +31,6 @@ @Slf4j public class ScheduleTool { - - @Autowired private SystemDictDataBiz systemDictDataBiz; @@ -51,8 +49,7 @@ /** * @throws Exception */ -// @Scheduled(cron = "0 0 11 * * ? ") - public void syncStudent() throws Exception { + public void getWxBill() throws Exception { //鍓嶄竴澶╃殑鏁告摎 Date ydate = DateUtil.addDaysToDate(new Date(), -1); wxBillService.getWxBill(ydate); @@ -75,7 +72,7 @@ * 30 绉掑埛鏂颁竴娆� * @throws Exception */ -// @Scheduled(cron = "0/30 * * * * ? ") + @Scheduled(cron = "0/30 * * * * ? ") public void autoRefreshLockStatus() throws Exception { log.info("=====================寮�濮嬪畾鏃跺埛鏂伴獞琛屼腑鐨勬暟鍏呭�兼湭寮�閿佸け璐�======================="); memberRidesService.autoRefreshLockStatus(); @@ -87,7 +84,7 @@ * 绔欑偣杞﹁締婊℃灦鐜囬璀� * @throws Exception */ -// @Scheduled(fixedDelay = 1000L * 60L * 3L) + @Scheduled(fixedDelay = 1000L * 60L * 10L) public void siteReserves() throws Exception { log.info("=====================寮�濮� 绔欑偣杞﹁締婊℃灦鐜囬璀�======================="); sitesService.siteReservesNotice();; -- Gitblit v1.9.3