| | |
| | | package org.springblade.modules.system.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import org.springblade.common.vo.DeptVo; |
| | | import org.springblade.modules.system.entity.Dept; |
| | | import org.springblade.modules.system.node.TreeNodes; |
| | | import org.springblade.modules.system.vo.DeptVO; |
| | | |
| | | import java.util.List; |
| | |
| | | /** |
| | | * 懒加载获取部门树形结构,不包含顶级管理员公安局 |
| | | */ |
| | | List<DeptVO> securityLazyTree(String tenantId, Long parentId); |
| | | List<DeptVO> securityLazyTree(String jurisdiction, Long parentId); |
| | | List<DeptVO> selectInfo(); |
| | | List<DeptVo> selDeptList(); |
| | | /** |
| | | * 懒加载获取部门树形结构(包含用户数据) |
| | | * @return |
| | | */ |
| | | List<DeptVO> lazyTreeUser(String tenantId, Long parentId); |
| | | Long add(Dept dept); |
| | | |
| | | /** |
| | | * 懒加载获取部门树形结构(按分类查询) |
| | | */ |
| | | List<DeptVO> lazyTreeType(String deptCategory, Long parentId); |
| | | |
| | | /** |
| | | * 懒加载获取部门树形结构(包含用户数据)app |
| | | * @param type 1:保安对保安 2:保安向民警 3:民警向民警 |
| | | * @return |
| | | */ |
| | | List<DeptVO> lazyTreeUserApp(Integer type,String jurisdiction); |
| | | |
| | | /** |
| | | * 懒加载获取部门树形结构(包含用户数据),只查下一级的数据 |
| | | * @return |
| | | */ |
| | | List<TreeNodes> lazyTreeUsers(Integer type,Long deptId); |
| | | |
| | | List<String> selectIn(); |
| | | } |