From 2a9c68fe5130227d88b71e8eb57aced6b10d4d91 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期三, 17 十二月 2025 15:47:35 +0800
Subject: [PATCH] 【丽水】统计随访数据 增加redis记录结果 提高查询效率

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