From 8bcc5278995a5de8e8ebacc7d9a2e0fcf64bd4a5 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期四, 25 十二月 2025 11:48:13 +0800
Subject: [PATCH] 【市一】 语音电话发送调整 随访时间为空的空指针异常

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

diff --git a/smartor/src/main/resources/mapper/smartor/SvyTaskTemplateMapper.xml b/smartor/src/main/resources/mapper/smartor/SvyTaskTemplateMapper.xml
index 2dfc0ba..4091b73 100644
--- a/smartor/src/main/resources/mapper/smartor/SvyTaskTemplateMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/SvyTaskTemplateMapper.xml
@@ -95,6 +95,7 @@
         <where>
             del_flag=0
             <if test="templateid != null ">and templateid = #{templateid}</if>
+            <if test="id != null ">and id = #{id}</if>
             <if test="categoryid != null ">and categoryid = #{categoryid}</if>
             <if test="svycode != null  and svycode != ''">and svycode = #{svycode}</if>
             <if test="svyname != null  and svyname != ''">and svyname like concat('%', #{svyname}, '%')</if>

--
Gitblit v1.9.3