feat: Enhance department management with parent ID validation and department scope handling
This commit is contained in:
@@ -1257,7 +1257,7 @@ create table "ks_db3"."sys_dept"
|
||||
"dept_id" bigint not null,
|
||||
"parent_id" bigint default 0
|
||||
null,
|
||||
"ancestors" varchar(50) default ''
|
||||
"ancestors" text default ''
|
||||
null,
|
||||
"dept_name" varchar(30) default ''
|
||||
null,
|
||||
@@ -2633,4 +2633,3 @@ comment on table "ks_db3"."sys_user_role" is '用户和角色关联表';
|
||||
comment on column "ks_db3"."sys_user_role"."role_id" is '角色id';
|
||||
|
||||
comment on column "ks_db3"."sys_user_role"."user_id" is '用户id';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user