| 程序包 | 说明 |
|---|---|
| itez.core.runtime.service.common | |
| itez.plat.main.model | |
| itez.plat.main.service | |
| itez.plat.main.service.impl |
| 限定符和类型 | 方法和说明 |
|---|---|
Dept |
IUser.getDept()
返回用户的根机构(如果是管理员,则返回当前租户的根机构;否则如果存在管辖,则返回管辖机构ID;否则返回本身所在机构ID)
|
| 限定符和类型 | 方法和说明 |
|---|---|
Dept |
User.getDept()
返回用户的默认机构(如果是管理员,则返回当前租户的根机构;否则如果存在管辖,则返回管辖机构ID;否则返回本身所在机构ID)
|
| 限定符和类型 | 方法和说明 |
|---|---|
Dept |
DeptService.createRootDept()
创建当前租户的根机构(部门)
|
Dept |
UserService.getDept(User user)
返回用户的默认机构
|
Dept |
DeptService.getLastDept(String pid)
返回指定机构(部门)的最后一个子机构(部门)
|
Dept |
DeptService.getParent(String id)
返回父机构
|
Dept |
DeptService.getParent(String id,
String typeCode)
返回符合typeCode的距离最近的祖先机构(不包括本身)
|
Dept |
DeptService.getRootDept()
返回当前租户的根机构(部门)
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<Dept> |
DeptService.fillLogicDept(List<Dept> depts)
解析并填充逻辑机构
|
List<Dept> |
DeptService.getChildrens(String typeCode)
返回符合typeCode的所有下级机构(不包括本身),自动解析逻辑机构
注意:通过类型代码过滤后的结果将不再保持树形机构
|
List<Dept> |
DeptService.getChildrens(String typeCode,
String rootId)
返回符合typeCode的所有下级机构(不包括本身),自动解析逻辑机构
注意:通过类型代码过滤后的结果将不再保持树形机构
|
List<Dept> |
DeptService.getDeptTree()
返回当前租户的全部机构树形(默认解析逻辑机构)
|
List<Dept> |
DeptService.getDeptTree(String rootId)
返回从指定机构开始的机构树形(默认解析逻辑机构)
|
List<Dept> |
DeptService.getDeptTree(String rootId,
boolean includeLogic)
返回从指定机构开始的机构树形,指定是否解析逻辑机构
|
List<Dept> |
UserService.getDeptTree(User user)
返回用户所在的下级机构树型(默认解析逻辑机构、包含全部类型)
|
List<Dept> |
UserService.getDeptTree(User user,
boolean includeLogic)
返回用户所在的下级机构树型
|
List<Dept> |
DeptService.getLogicTo(String id)
返回所有引用该逻辑机构的节点列表
|
List<Dept> |
DeptService.getSubDepts()
返回第一层子机构列表
|
List<Dept> |
DeptService.getSubDepts(String pid)
返回指定机构的子机构列表,仅包括一层的直接子机构
|
List<Dept> |
DeptService.getSubDepts(String pid,
String typeCode)
返回指定机构的子机构列表,仅包括一层的直接子机构
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
DeptService.addDept(Dept dept)
添加机构(部门)
|
void |
DeptService.event(Dept data)
添加或修改机构节点
|
XlsWriter |
UserService.export(Dept dept)
导出用户
|
XlsWriter |
UserService.export(Dept dept,
String type)
导出用户
|
void |
DeptService.modifyDept(Dept dept)
修改机构(部门)
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<Dept> |
DeptService.fillLogicDept(List<Dept> depts)
解析并填充逻辑机构
|
| 限定符和类型 | 方法和说明 |
|---|---|
Dept |
DeptServiceImpl.createRootDept()
创建默认部门
|
Dept |
DeptServiceImpl.findById(String id) |
Dept |
UserServiceImpl.getDept(User user)
返回指定用户的默认机构(if管理员:根机构 elseif 有管辖:管辖机构 else 本身机构)
|
Dept |
DeptServiceImpl.getLastDept(String pid) |
Dept |
DeptServiceImpl.getParent(String id) |
Dept |
DeptServiceImpl.getParent(String id,
String typeCode) |
Dept |
DeptServiceImpl.getRootDept() |
| 限定符和类型 | 方法和说明 |
|---|---|
List<Dept> |
DeptServiceImpl.fillLogicDept(List<Dept> depts) |
List<Dept> |
DeptServiceImpl.getChildrens(String typeCode) |
List<Dept> |
DeptServiceImpl.getChildrens(String typeCode,
String rootId) |
List<Dept> |
DeptServiceImpl.getDeptTree() |
List<Dept> |
DeptServiceImpl.getDeptTree(String rootId) |
List<Dept> |
DeptServiceImpl.getDeptTree(String rootId,
boolean includeLogic) |
List<Dept> |
UserServiceImpl.getDeptTree(User user)
返回指定用户的机构树型
|
List<Dept> |
UserServiceImpl.getDeptTree(User user,
boolean includeLogic)
返回指定用户的机构树型
|
List<Dept> |
DeptServiceImpl.getLogicTo(String id) |
List<Dept> |
DeptServiceImpl.getSubDepts() |
List<Dept> |
DeptServiceImpl.getSubDepts(String pid) |
List<Dept> |
DeptServiceImpl.getSubDepts(String pid,
String typeCode) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
DeptServiceImpl.addDept(Dept dept) |
void |
DeptServiceImpl.event(Dept data) |
XlsWriter |
UserServiceImpl.export(Dept dept) |
XlsWriter |
UserServiceImpl.export(Dept dept,
String type) |
void |
DeptServiceImpl.modifyDept(Dept dept) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<Dept> |
DeptServiceImpl.fillLogicDept(List<Dept> depts) |
Copyright © 2023. All rights reserved.