From 6427886a12c3c6cd56c5dde2e3437d0d608da59c Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期一, 09 十一月 2026 14:23:48 +0800
Subject: [PATCH] 修复管理员科室病区为空与延续护理任务出院维度过滤

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

diff --git a/ruoyi-task/src/main/resources/mapper/task/ServiceTaskdeptMapper.xml b/ruoyi-task/src/main/resources/mapper/task/ServiceTaskdeptMapper.xml
index 738003c..3314701 100644
--- a/ruoyi-task/src/main/resources/mapper/task/ServiceTaskdeptMapper.xml
+++ b/ruoyi-task/src/main/resources/mapper/task/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