From 961157b9902ce78c2e86d2cca8f2f882cb09753f Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期一, 14 四月 2025 13:36:52 +0800 Subject: [PATCH] 获取 下一个安装患者 seq_num create_time 不考虑book_timeslot --- jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/mysql/queue/QueueMapper.java | 4 ++-- 1 files changed, 2 insertions(+), 2 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 bf2767e..410eaf1 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 @@ -200,9 +200,9 @@ " <foreach collection='curStatusList' separator=',' item='status'>" + " #{status} " + " </foreach> )" + - " order by seq_num, book_timeslot, create_time limit 1 " + + " order by seq_num, create_time limit 1 " + "</script>" ) - QueueDO getFirstItemByRoomAndStatus(@Param("roomId")Long roomId, @Param("curStatusList")List<Integer> curStatusList); + QueueDO getFirstInstallItemByRoomAndStatus(@Param("roomId")Long roomId, @Param("curStatusList")List<Integer> curStatusList); @Select("<script> " + "select * from lihu.queue where appoint_id in ( " + -- Gitblit v1.9.3