From 4feb978ac9908a46e7285ab0c9a897b89fd99ff2 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期一, 25 十一月 2024 20:17:57 +0800 Subject: [PATCH] Fix Bug: 当天多个检查项目 打印小票 检查项目不对 --- 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