From 295b3af633ee3f70a4bdab1e6c7d444f4038e832 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期二, 14 四月 2026 18:14:40 +0800
Subject: [PATCH] 修改省立同德出院数据采集

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

diff --git a/smartor/src/main/resources/mapper/smartor/PatMedOuthospMapper.xml b/smartor/src/main/resources/mapper/smartor/PatMedOuthospMapper.xml
index 36d7089..b53811c 100644
--- a/smartor/src/main/resources/mapper/smartor/PatMedOuthospMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/PatMedOuthospMapper.xml
@@ -447,6 +447,13 @@
         WHERE id = #{id}
     </select>
 
+    <!-- 鎸� serialnum 鏌ヨ鎸囧畾鍒嗚〃涓槸鍚﹀凡瀛樺湪璇ヨ褰曪紝鐢ㄤ簬鎻掑叆鍓嶅幓閲� -->
+    <select id="countBySerialnum" resultType="int">
+        SELECT COUNT(*)
+        FROM ${tableName}
+        WHERE serialnum = #{serialnum}
+    </select>
+
     <update id="updateInTable" parameterType="map">
         update ${tableName}
         <trim prefix="SET" suffixOverrides=",">

--
Gitblit v1.9.3