From 91f8f35123a27c923e5006e0324829fbe3d9da65 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期一, 19 一月 2026 17:52:29 +0800
Subject: [PATCH] 【丽水】smartor/servicetask/list 接口优化

---
 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