From a156ddbb26693b8040f9dbbd7582a12c1fc8d61b Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期四, 07 十一月 2024 17:04:47 +0800
Subject: [PATCH] 预约序号

---
 jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/config/EcgConfigServiceImpl.java |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/config/EcgConfigServiceImpl.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/config/EcgConfigServiceImpl.java
index 2ed3279..3f969ff 100644
--- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/config/EcgConfigServiceImpl.java
+++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/config/EcgConfigServiceImpl.java
@@ -39,6 +39,7 @@
     private QueueSequenceService queueSequenceService;
 
     List<LocalTime> timeslotList = null;
+    Integer timeslotLength = 0;
 
     ScheduledTask startBizTask = null;
     ScheduledTask closeBizTask = null;
@@ -85,6 +86,7 @@
     @Override
     public void readTimeSlotConfig() {
         String strBookTimeslotLength = configApi.getConfigValueByKey(BOOK_TIMESLOT_LENGTH);
+        timeslotLength = Integer.valueOf(strBookTimeslotLength);
         //String strBookTimeslotList = configApi.getConfigValueByKey(BOOK_TIMESLOT_LIST);
         //timeslotList = Utils.parseTimeSlotList(strBookTimeslotList, Integer.valueOf(strBookTimeslotLength));
     }
@@ -94,4 +96,9 @@
         return  timeslotList;
     }
 
+    @Override
+    public Integer getTimeslotLength() {
+        return timeslotLength;
+    }
+
 }

--
Gitblit v1.9.3