From 6e397c664037b898b5e9d9955da1d953089e679e Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期二, 09 六月 2026 17:32:07 +0800
Subject: [PATCH] 【市一】手术随访对接

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

diff --git a/smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml b/smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml
index 22b3f4a..b51c18d 100644
--- a/smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml
@@ -283,6 +283,15 @@
         </foreach>
     </select>
 
+    <select id="selectPatArchiveByPatidHiss" resultMap="PatArchiveResult">
+        SELECT id, patid_his
+        FROM pat_archive
+        WHERE patid_his IN
+        <foreach item="patidHis" collection="patidHiss" open="(" separator="," close=")">
+            #{patidHis}
+        </foreach>
+    </select>
+
     <insert id="insertPatArchiveSingle" parameterType="com.smartor.domain.PatArchive" useGeneratedKeys="true"
             keyProperty="id">
         insert into pat_archive

--
Gitblit v1.9.3