From f696df5ce36beb3af261bae782fa0a418b83b9e6 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期五, 23 八月 2024 15:41:18 +0800
Subject: [PATCH] update
---
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/listener/MySpringEventListener.java | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/listener/MySpringEventListener.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/listener/MySpringEventListener.java
index 0a00279..a47b0e3 100644
--- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/listener/MySpringEventListener.java
+++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/listener/MySpringEventListener.java
@@ -9,7 +9,6 @@
import javax.annotation.Resource;
import java.time.LocalTime;
-import java.time.format.DateTimeFormatter;
import static cn.lihu.jh.module.ecg.Constants.ECG_OPENING_TIME_KEY;
@@ -26,7 +25,7 @@
public void onApplicationEvent(ApplicationStartedEvent event) {
System.out.println("搴旂敤鍚姩瀹屾垚锛岀郴缁熷垵濮嬨�傘�傘��");
- queueService.initQueue();
+ queueService.initBedQueueAndSeqNumFromDB();
String strOpeningTime = configApi.getConfigValueByKey(ECG_OPENING_TIME_KEY);
LocalTime openingTime = Utils.parseOpeningTime(strOpeningTime);
--
Gitblit v1.9.3