From 2d27b24029adafdbfc5703b38a519d65beda6a68 Mon Sep 17 00:00:00 2001 From: heheng <heheng@123456> Date: 星期三, 20 十一月 2024 16:23:23 +0800 Subject: [PATCH] 更改 --- expert-system/src/main/java/com/gkhy/system/service/impl/SysDeptServiceImpl.java | 18 ++++++++++++------ 1 files changed, 12 insertions(+), 6 deletions(-) diff --git a/expert-system/src/main/java/com/gkhy/system/service/impl/SysDeptServiceImpl.java b/expert-system/src/main/java/com/gkhy/system/service/impl/SysDeptServiceImpl.java index ce34ff6..e24b8e7 100644 --- a/expert-system/src/main/java/com/gkhy/system/service/impl/SysDeptServiceImpl.java +++ b/expert-system/src/main/java/com/gkhy/system/service/impl/SysDeptServiceImpl.java @@ -1,11 +1,5 @@ package com.gkhy.system.service.impl; -import java.util.ArrayList; -import java.util.Iterator; -import java.util.List; -import java.util.stream.Collectors; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; import com.gkhy.common.annotation.DataScope; import com.gkhy.common.constant.UserConstants; import com.gkhy.common.core.domain.TreeSelect; @@ -20,6 +14,13 @@ import com.gkhy.system.mapper.SysDeptMapper; import com.gkhy.system.mapper.SysRoleMapper; import com.gkhy.system.service.ISysDeptService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import java.util.ArrayList; +import java.util.Iterator; +import java.util.List; +import java.util.stream.Collectors; /** * 部门管理 服务实现 @@ -48,6 +49,11 @@ return deptMapper.selectDeptList(dept); } + @Override + public List<SysDept> getOutDeptList(SysDept dept) { + return deptMapper.getOutDeptList(dept); + } + /** * 查询部门树结构信息 * -- Gitblit v1.9.2