From 60ade5154522a042c816abaa1840751011ae0371 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期二, 29 九月 2026 19:15:03 +0800
Subject: [PATCH] 1.省立同德满度问题处理 2.门急诊数据采集优化
---
smartor/src/main/resources/mapper/smartor/PatMedOuthospMapper.xml | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/PatMedOuthospMapper.xml b/smartor/src/main/resources/mapper/smartor/PatMedOuthospMapper.xml
index b53811c..ef8ecf9 100644
--- a/smartor/src/main/resources/mapper/smartor/PatMedOuthospMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/PatMedOuthospMapper.xml
@@ -454,6 +454,16 @@
WHERE serialnum = #{serialnum}
</select>
+ <!-- 鎵归噺鏌ヨ鎸囧畾鍒嗚〃涓凡瀛樺湪鐨� serialnum锛屼竴娆� SQL 瀹屾垚鏁撮〉鍘婚噸锛岄伩鍏嶉�愭潯 countBySerialnum -->
+ <select id="selectExistingSerialnums" resultType="java.lang.String">
+ SELECT serialnum
+ FROM ${tableName}
+ WHERE serialnum IN
+ <foreach collection="serialnums" item="serialnum" open="(" separator="," close=")">
+ #{serialnum}
+ </foreach>
+ </select>
+
<update id="updateInTable" parameterType="map">
update ${tableName}
<trim prefix="SET" suffixOverrides=",">
--
Gitblit v1.9.3