From b087e507b04b30ae4069d688ddfc9ba4889cd63e Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期日, 17 五月 2026 22:40:37 +0800
Subject: [PATCH] 南华附一数据采集修改

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

diff --git a/smartor/src/main/resources/mapper/smartor/PatMedInhospMapper.xml b/smartor/src/main/resources/mapper/smartor/PatMedInhospMapper.xml
index b71c096..24c2efc 100644
--- a/smartor/src/main/resources/mapper/smartor/PatMedInhospMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/PatMedInhospMapper.xml
@@ -396,7 +396,7 @@
         <if test="orgid != null and orgid != ''">
             and orgid = #{orgid}
         </if>
-        <if test="serialnum != null ">
+        <if test="serialnum != null and serialnum != ''">
             and b.serialnum = #{serialnum}
         </if>
         order by b.inhospid desc

--
Gitblit v1.9.3