1. 迁移 Role 相关的逻辑

This commit is contained in:
YunaiV
2021-01-09 11:27:11 +08:00
parent 4c3e2bd815
commit 9e59a6c1ae
23 changed files with 546 additions and 410 deletions

View File

@@ -15,10 +15,10 @@ import lombok.Getter;
public enum DataScopeEnum {
ALL(1), // 全部数据权限
CUSTOM(2), // 自定数据权限
DEPT(3), // 部门数据权限
DEPT_CUSTOM(2), // 指定部门数据权限
DEPT_ONLY(3), // 部门数据权限
DEPT_AND_CHILD(4), // 部门及以下数据权限
SELF(5); // 仅本人数据权限
DEPT_SELF(5); // 仅本人数据权限
/**
* 范围