From 11d763612e5dbcc5d2365683b8c8eb6c5b525653 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期四, 18 十二月 2025 14:38:56 +0800
Subject: [PATCH] 【丽水】增加queryTaskByCondition空指针异常判断
---
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