From 0fa1f4767affcd1879709ebea630016356836c75 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期五, 18 九月 2026 15:07:20 +0800
Subject: [PATCH] Merge branch 'master' of http://116.62.18.175:6699/r/~yxh/ecg
---
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/config/EcgConfigServiceImpl.java | 10 +++++++++-
1 files changed, 9 insertions(+), 1 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..c97bcbd 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;
@@ -76,7 +77,8 @@
resetRoomTask = taskRegistrar.scheduleCronTask(new CronTask(() -> {
System.out.println("Room Reset Task executed at: " + System.currentTimeMillis());
roomService.resetRoom(false);
- queueSequenceService.resetQueueSequence();
+ //queueSequenceService.resetQueueSequence();
+ queueSequenceService.initNumber();
}, roomResetCronExpression));
taskRegistrar.afterPropertiesSet();
@@ -85,6 +87,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 +97,9 @@
return timeslotList;
}
+ @Override
+ public Integer getTimeslotLength() {
+ return timeslotLength;
+ }
+
}
--
Gitblit v1.9.3