From fb89df539c6293a41933e445df25fa9b8047ba18 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期一, 09 十一月 2026 14:30:52 +0800
Subject: [PATCH] 补充数据库修复/排查脚本,新增 .gitignore
---
ruoyi-inhospvisit/src/main/resources/mapper/inhospvisit/PatMedInhospMapper.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ruoyi-inhospvisit/src/main/resources/mapper/inhospvisit/PatMedInhospMapper.xml b/ruoyi-inhospvisit/src/main/resources/mapper/inhospvisit/PatMedInhospMapper.xml
index fd25c50..15c47f3 100644
--- a/ruoyi-inhospvisit/src/main/resources/mapper/inhospvisit/PatMedInhospMapper.xml
+++ b/ruoyi-inhospvisit/src/main/resources/mapper/inhospvisit/PatMedInhospMapper.xml
@@ -1233,7 +1233,7 @@
AND visit_time < DATE_ADD(#{endDate}, INTERVAL 1 DAY)
</if>
<if test="deptcodeList != null and deptcodeList.size() > 0">
- AND deptcode IN
+ AND leaveldeptcode IN
<foreach collection="deptcodeList" item="deptcode" open="(" separator="," close=")">
#{deptcode}
</foreach>
--
Gitblit v1.9.3