mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-09-13 02:57:13 +08:00
feat: 修改角色支持衔接新增角色时的父子联动
This commit is contained in:
@@ -67,4 +67,14 @@ public class RoleDO extends BaseDO {
|
||||
* 是否为系统内置数据
|
||||
*/
|
||||
private Boolean isSystem;
|
||||
|
||||
/**
|
||||
* 菜单选择是否父子节点关联
|
||||
*/
|
||||
private Boolean menuCheckStrictly;
|
||||
|
||||
/**
|
||||
* 部门选择是否父子节点关联
|
||||
*/
|
||||
private Boolean deptCheckStrictly;
|
||||
}
|
||||
|
@@ -90,4 +90,16 @@ public class RoleReq extends BaseReq {
|
||||
*/
|
||||
@Schema(description = "权限范围:部门 ID 列表", example = "5")
|
||||
private List<Long> deptIds = new ArrayList<>();
|
||||
|
||||
/**
|
||||
* 菜单选择是否父子节点关联
|
||||
*/
|
||||
@Schema(description = "菜单选择是否父子节点关联", example = "false")
|
||||
private Boolean menuCheckStrictly;
|
||||
|
||||
/**
|
||||
* 部门选择是否父子节点关联
|
||||
*/
|
||||
@Schema(description = "部门选择是否父子节点关联", example = "false")
|
||||
private Boolean deptCheckStrictly;
|
||||
}
|
||||
|
@@ -81,6 +81,18 @@ public class RoleDetailResp extends BaseDetailResp {
|
||||
@ExcelProperty(value = "系统内置")
|
||||
private Boolean isSystem;
|
||||
|
||||
/**
|
||||
* 菜单选择是否父子节点关联
|
||||
*/
|
||||
@Schema(description = "菜单选择是否父子节点关联", example = "false")
|
||||
private Boolean menuCheckStrictly;
|
||||
|
||||
/**
|
||||
* 部门选择是否父子节点关联
|
||||
*/
|
||||
@Schema(description = "部门选择是否父子节点关联", example = "false")
|
||||
private Boolean deptCheckStrictly;
|
||||
|
||||
/**
|
||||
* 描述
|
||||
*/
|
||||
|
Reference in New Issue
Block a user