From 2ad7a1b9035321fc16b253ad2cdd73c6d5e15d64 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期五, 22 五月 2026 16:18:52 +0800
Subject: [PATCH] 新增sendstateView(1:待随访(2 待发送);2:随访中(1 被领取、3 已发送)、3:未完成(5 发送失败、7、超时)、4:已完成( 6 已完成)、5:无需随访(4 不执行))

---
 smartor/src/main/resources/mapper/smartor/ServiceSubtaskDetailTraceMapper.xml |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/smartor/src/main/resources/mapper/smartor/ServiceSubtaskDetailTraceMapper.xml b/smartor/src/main/resources/mapper/smartor/ServiceSubtaskDetailTraceMapper.xml
index 4595c28..a7c9511 100644
--- a/smartor/src/main/resources/mapper/smartor/ServiceSubtaskDetailTraceMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/ServiceSubtaskDetailTraceMapper.xml
@@ -160,6 +160,9 @@
         <if test="valueType != null  and valueType != ''">
             and value_type = #{valueType}
         </if>
+        <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=")">
@@ -275,8 +278,6 @@
             and template_type = #{templateType}
         </if>
     </select>
-
-
 
 
     <select id="selectServiceSubtaskDetailTtraceById" parameterType="Long"

--
Gitblit v1.9.3