From 28da7e877a08aaff967efa4adf9d2d4ab4b80c67 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期四, 09 四月 2026 16:29:46 +0800
Subject: [PATCH] 省立同德满意度功能修改

---
 smartor/src/main/resources/mapper/smartor/ServiceSubtaskDetailTraceMapper.xml |   15 +++++++++++----
 1 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/smartor/src/main/resources/mapper/smartor/ServiceSubtaskDetailTraceMapper.xml b/smartor/src/main/resources/mapper/smartor/ServiceSubtaskDetailTraceMapper.xml
index 3d10b0a..a7c9511 100644
--- a/smartor/src/main/resources/mapper/smartor/ServiceSubtaskDetailTraceMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/ServiceSubtaskDetailTraceMapper.xml
@@ -108,7 +108,7 @@
         from service_subtask_detail_trace
     </sql>
 
-    <select id="selectServiceSubtaskDetailTtraceList" parameterType="com.smartor.domain.ServiceSubtaskDetailTrace"
+    <select id="selectServiceSubtaskDetailTtraceList" parameterType="com.smartor.domain.VO.ServiceSubtaskDetailTraceVO"
             resultMap="ServiceSubtaskDetailTtraceResult">
         <include refid="selectServiceSubtaskDetailTtraceVo"/>
         where del_flag=0
@@ -160,8 +160,14 @@
         <if test="valueType != null  and valueType != ''">
             and value_type = #{valueType}
         </if>
-        <if test="scriptid != null ">
+        <if test="scriptid != null and scriptids==null ">
             and scriptid = #{scriptid}
+        </if>
+        <if test="scriptids != null ">
+            and scriptid in
+            <foreach item="scriptid" collection="scriptids" open="(" separator="," close=")">
+                #{scriptid}
+            </foreach>
         </if>
         <if test="answerps != null  and answerps != ''">
             and answerps = #{answerps}
@@ -268,9 +274,10 @@
         <if test="type != null  and type != ''">
             and type = #{type}
         </if>
+        <if test="templateType != null">
+            and template_type = #{templateType}
+        </if>
     </select>
-
-
 
 
     <select id="selectServiceSubtaskDetailTtraceById" parameterType="Long"

--
Gitblit v1.9.3