From 4924f5e98bfbc78693466b667e768092181112eb Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期三, 20 十一月 2024 16:22:19 +0800
Subject: [PATCH] 预约小票打印

---
 jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/mysql/queue/QueueMapper.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/dal/mysql/queue/QueueMapper.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/mysql/queue/QueueMapper.java
index 057296c..47cd7ca 100644
--- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/mysql/queue/QueueMapper.java
+++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/mysql/queue/QueueMapper.java
@@ -194,6 +194,13 @@
             "</script>" )
     QueueDO getFirstItemByRoomAndStatus(@Param("roomId")Long roomId, @Param("curStatusList")List<Integer> curStatusList);
 
+    @Select("<script> " +
+            "select * from lihu.queue where appoint_id in ( " +
+            "       <foreach collection='appointIdList' separator=',' item='appointId'>" +
+            "           #{appointId} " +
+            "       </foreach> )" +
+            "</script>" )
+    List<QueueDO> selectBookSeqNumByAppointIdList(@Param("appointIdList") List<Long> appointIdList);
 
 /*
     @Select("select * from lihu.queue where room_id = #{roomId} and bed_no = #{bedNo} " +

--
Gitblit v1.9.3