From 9a94c295952d513c1703aa8d3fcf54d17da168e5 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期六, 07 十月 2023 14:50:39 +0800
Subject: [PATCH] 对账

---
 server/platform/src/main/java/com/doumee/task/ScheduleTool.java |   13 ++++++++++++-
 1 files changed, 12 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 c9873e4..ad8077e 100644
--- a/server/platform/src/main/java/com/doumee/task/ScheduleTool.java
+++ b/server/platform/src/main/java/com/doumee/task/ScheduleTool.java
@@ -2,6 +2,7 @@
 
 
 import com.doumee.biz.system.SystemDictDataBiz;
+import com.doumee.service.business.WxBillService;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.scheduling.annotation.EnableScheduling;
 import org.springframework.scheduling.annotation.Scheduled;
@@ -21,13 +22,23 @@
 
     @Autowired
     private SystemDictDataBiz systemDictDataBiz;
+    @Autowired
+    private WxBillService wxBillService;
 
     /**
      * @throws Exception
      */
-    @Scheduled(cron = "0 0 02 * * ? ")
+    @Scheduled(cron = "0 0 11 * * ? ")
     public void syncStudent() throws Exception {
+        wxBillService.getWxBill();
 
+    }
+    /**
+     * @throws Exception
+     */
+    @Scheduled(fixedDelay = 1000*60)
+    public void getYesterdayBill() throws Exception {
+        wxBillService.getWxBill();
 
     }
 }

--
Gitblit v1.9.3