From 794e286525df2dcf700fe9a2d74530282a7225a4 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期三, 13 十一月 2024 12:05:08 +0800 Subject: [PATCH] 患者列表-亲和项移到主项后面 --- 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 8f4a3b2..d79bc05 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 @@ -155,8 +155,8 @@ "where room_id = #{roomId} and bed_no = #{bedNo} and status in (" + " <foreach collection='statusList' separator=',' item='status'>" + " #{status} " + - " </foreach> )" + - " order by seq_num, status desc" + + " </foreach> ) " + + " order by status desc, seq_num " + "</script>") List<QueueDO> getBedQueueByStatus(@Param("roomId")Long roomId, @Param("bedNo")String bedNo, @Param("statusList")List<Integer> statusList); -- Gitblit v1.9.3