From f7a9f7036f862500a03ce31b322a928392131fa7 Mon Sep 17 00:00:00 2001
From: luoyisheng <yangdongji@argo-ai.cn>
Date: 星期二, 01 四月 2025 17:54:12 +0800
Subject: [PATCH] bug

---
 medicalWaste-system/src/main/java/com/sinata/system/service/impl/SysDepartmentServiceImpl.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/medicalWaste-system/src/main/java/com/sinata/system/service/impl/SysDepartmentServiceImpl.java b/medicalWaste-system/src/main/java/com/sinata/system/service/impl/SysDepartmentServiceImpl.java
index 362e614..b3596f0 100644
--- a/medicalWaste-system/src/main/java/com/sinata/system/service/impl/SysDepartmentServiceImpl.java
+++ b/medicalWaste-system/src/main/java/com/sinata/system/service/impl/SysDepartmentServiceImpl.java
@@ -227,7 +227,7 @@
             SysDepartment byId = this.getById(sysDepartmentVO.getParentId());
             childrenMap = getChildrenDepartmentMap(byId);
             sysDepartmentVO = fillChildrenTreeModel(byId, childrenMap);
-            sysDepartmentVO.setChildren(new ArrayList<>());
+//            sysDepartmentVO.setChildren(new ArrayList<>());
         }
         if (sysDepartmentVO.getTreeCode().length()==10){
             SysDepartment sysDepartment = this.baseMapper.selectById(sysDepartmentVO.getParentId());

--
Gitblit v1.7.1