From 01ccffbea8813dfc810295d7716b07265faac899 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期三, 18 三月 2026 15:30:34 +0800
Subject: [PATCH] 【丽水】接口用户科室关系表bug

---
 smartor/src/main/java/com/smartor/service/impl/ServiceExternalServiceImpl.java |    1 -
 smartor/src/main/resources/mapper/smartor/SysDeptMapper.xml                    |    3 +++
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/smartor/src/main/java/com/smartor/service/impl/ServiceExternalServiceImpl.java b/smartor/src/main/java/com/smartor/service/impl/ServiceExternalServiceImpl.java
index 1a003c6..ef267bf 100644
--- a/smartor/src/main/java/com/smartor/service/impl/ServiceExternalServiceImpl.java
+++ b/smartor/src/main/java/com/smartor/service/impl/ServiceExternalServiceImpl.java
@@ -189,7 +189,6 @@
 
     @Override
     public Boolean addUserDeptInfo(Map dataMap) {
-        //todo
         log.info("ServiceExternalServiceImpl---addUserDeptInfo鐨勬柊澧炵殑鍊间负锛歿}", dataMap);
         Map yeWuXX = (Map) dataMap.get("YeWuXX");
         Map<String, Object> keShiYH = (Map<String, Object>) yeWuXX.get("KeShiYH");
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