From 196bb14112448857a885e32dc4149e308e00b01a Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期四, 15 八月 2024 11:57:15 +0800
Subject: [PATCH] 2024.8.15 各项修正

---
 src/main/kotlin/cn/flightfeather/supervision/bgtask/TaskScoreRemind.kt |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/main/kotlin/cn/flightfeather/supervision/timingtask/TaskScoreRemind.kt b/src/main/kotlin/cn/flightfeather/supervision/bgtask/TaskScoreRemind.kt
similarity index 75%
rename from src/main/kotlin/cn/flightfeather/supervision/timingtask/TaskScoreRemind.kt
rename to src/main/kotlin/cn/flightfeather/supervision/bgtask/TaskScoreRemind.kt
index a68e843..26e1d58 100644
--- a/src/main/kotlin/cn/flightfeather/supervision/timingtask/TaskScoreRemind.kt
+++ b/src/main/kotlin/cn/flightfeather/supervision/bgtask/TaskScoreRemind.kt
@@ -1,4 +1,4 @@
-package cn.flightfeather.supervision.timingtask
+package cn.flightfeather.supervision.bgtask
 
 import cn.flightfeather.supervision.common.wx.TemplateManager
 import cn.flightfeather.supervision.domain.entity.MsgSubscribeWx
@@ -29,11 +29,13 @@
     }
 
     /**
-     * 鍙拌处鎻愰啋浠诲姟瀹氫负姣忔湀5鍙锋棭涓�10鐐规彁閱掑綋鏈�10鍙蜂箣鍓嶆彁浜ゅ彴璐�
+     * 鑷瘎鎻愰啋浠诲姟瀹氫负姣忔湀5鍙枫��15鍙枫��28鍙锋棭涓�10鐐规彁閱�
      */
     override fun execute(localtime: LocalDateTime) {
-        if (localtime.dayOfMonth == 5) {
-            doTask(localtime)
+        if (localtime.dayOfMonth == 5 || localtime.dayOfMonth == 15 || localtime.dayOfMonth == 28) {
+            if (localtime.hour == 10 && localtime.minute == 0 && localtime.second == 0) {
+                doTask(localtime)
+            }
         }
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3