heheng
2024-11-20 2d27b24029adafdbfc5703b38a519d65beda6a68
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);
    }
    /**
     * 查询部门树结构信息
     *