From 7ca6d7d7da579f9a32c7d253eccb0f4e1ba6b6ef Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期二, 20 一月 2026 14:01:55 +0800
Subject: [PATCH] 【丽水】/smartor/patarchive/patInfoByContion、/smartor/patarchive/exportPatInfo、/smartor/patarchive/getPatientInfoQC 调整sql,不关联pat_archivetag

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

diff --git a/smartor/src/main/resources/mapper/smartor/ServiceSubtaskMapper.xml b/smartor/src/main/resources/mapper/smartor/ServiceSubtaskMapper.xml
index 06bb5ab..1e884f0 100644
--- a/smartor/src/main/resources/mapper/smartor/ServiceSubtaskMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/ServiceSubtaskMapper.xml
@@ -278,6 +278,14 @@
             <if test="senderdetail != null  and senderdetail != ''">and senderdetail = #{senderdetail}</if>
             <if test="type != null  and type != ''">and type = #{type}</if>
             <if test="taskid != null ">and taskid = #{taskid}</if>
+            <!-- taskIds绛涢�� -->
+            <if test="taskIds != null and taskIds.size() > 0">
+                AND taskid IN
+                <foreach collection="taskIds" item="itemTaskId" open="(" separator=","
+                         close=")">
+                    #{itemTaskId}
+                </foreach>
+            </if>
             <if test="templateid != null  and templateid != ''">and templateid = #{templateid}</if>
             <if test="templatename != null  and templatename != ''">and templatename like concat('%', #{templatename},
                 '%')

--
Gitblit v1.9.3