From 85ce52a4573ea2bdfc82876aa92365d0359e8483 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期四, 29 十月 2026 16:07:18 +0800
Subject: [PATCH] 【丽水】丽水中模板读取报错

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

diff --git a/smartor/src/main/resources/mapper/smartor/ServiceTaskdeptMapper.xml b/smartor/src/main/resources/mapper/smartor/ServiceTaskdeptMapper.xml
index e4c295e..ef5435e 100644
--- a/smartor/src/main/resources/mapper/smartor/ServiceTaskdeptMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/ServiceTaskdeptMapper.xml
@@ -196,6 +196,9 @@
         where 1=1
             <if test="id != null">and id = #{id}</if>
             <if test="taskId != null">and task_id = #{taskId}</if>
+            <if test="deptType != null and deptType != ''">
+                AND dept_type = #{deptType}
+            </if>
             <if test="orgid != null and orgid != ''">
                 AND orgid = #{orgid}
             </if>

--
Gitblit v1.9.3