From f68f81917ae301f57ddca376688a6a968880681c Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期一, 07 九月 2026 15:25:05 +0800
Subject: [PATCH] 【丽水】SSO重定向跳转详情页面

---
 smartor/src/main/resources/mapper/smartor/PatMedInhospMapper.xml |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/smartor/src/main/resources/mapper/smartor/PatMedInhospMapper.xml b/smartor/src/main/resources/mapper/smartor/PatMedInhospMapper.xml
index 5f9666b..8344a5f 100644
--- a/smartor/src/main/resources/mapper/smartor/PatMedInhospMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/PatMedInhospMapper.xml
@@ -246,6 +246,7 @@
         AND a.del_flag = 0
         AND b.del_flag = 0
         AND a.idcardno IS NOT NULL
+        <if test="inhospid != null">and b.inhospid = #{inhospid}</if>
         <if test="startOutHospTime != null ">and date_format(b.endtime,'%y%m%d') &gt;=
             date_format(#{startOutHospTime},'%y%m%d')
         </if>

--
Gitblit v1.9.3