From 18f2eb72590ce5ff79693eb8a27188a499bbd114 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期二, 29 十月 2024 16:12:53 +0800 Subject: [PATCH] appointment table key Integer -> Long --- jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/Utils.java | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/Utils.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/Utils.java index 09727ea..4bb172c 100644 --- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/Utils.java +++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/Utils.java @@ -1,5 +1,6 @@ package cn.lihu.jh.module.ecg; +import cn.lihu.jh.module.ecg.service.queue.BedQueueBO; import jodd.typeconverter.impl.LocalTimeConverter; import java.time.LocalTime; @@ -60,5 +61,9 @@ openCloseTime.add(localCloseTime); return openCloseTime; } + + public static String formatRoomBed(Long roomId, String bedNo) { + return String.format("%09d%s", roomId, bedNo); + } } -- Gitblit v1.9.3