From 8b9db684defff26456d58609ea243e9fd21ed081 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期五, 17 四月 2026 10:16:02 +0800
Subject: [PATCH] 【本地】获取随访统计比例 逻辑调整

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

diff --git a/smartor/src/main/resources/mapper/smartor/SysDeptMapper.xml b/smartor/src/main/resources/mapper/smartor/SysDeptMapper.xml
index d17ca0c..cfdfba5 100644
--- a/smartor/src/main/resources/mapper/smartor/SysDeptMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/SysDeptMapper.xml
@@ -84,6 +84,9 @@
         <if test="hisParentId != null and hisParentId != ''">
             AND his_parent_id = #{hisParentId}
         </if>
+        <if test="orgid != null and orgid != ''">
+            AND orgid = #{orgid}
+        </if>
         <if test="campusid != null and campusid != ''">
             AND campusid = #{campusid}
         </if>

--
Gitblit v1.9.3