From c634c6113082a5ce275cd43f0e681a6c323c4ca2 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期四, 19 三月 2026 15:29:33 +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