public enum DataScopeType extends Enum<DataScopeType>
| 枚举常量和说明 |
|---|
all_dept
所有部门
|
all_job
所有岗位
|
curr_dept
当前部门
|
curr_dept_tree
当前部门以及子部门
|
curr_job
当前岗位
|
customize
自定义数据权限
|
self
用户自己创建的数据
|
public static final DataScopeType all_dept
public static final DataScopeType curr_dept
public static final DataScopeType curr_dept_tree
public static final DataScopeType all_job
public static final DataScopeType curr_job
public static final DataScopeType self
public static final DataScopeType customize
public static DataScopeType[] values()
for (DataScopeType c : DataScopeType.values()) System.out.println(c);
public static DataScopeType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2022 jvs. All rights reserved.