权限表与平台字段冲突调整
This commit is contained in:
parent
c9a5fc9893
commit
95ac730f3e
@ -15,5 +15,5 @@ public class Permission extends MpaasBasePojo {
|
||||
private String id;
|
||||
private String permissionName;
|
||||
private String permPath;
|
||||
private String description;
|
||||
private String perDescription;
|
||||
}
|
||||
|
||||
@ -14,5 +14,5 @@ public class Role extends MpaasBasePojo {
|
||||
@RowID(value = "roles_s", type = RowIDType.UUID)
|
||||
private String id;
|
||||
private String roleName;
|
||||
private String description;
|
||||
private String roleDescription;
|
||||
}
|
||||
|
||||
@ -52,7 +52,7 @@ public class PermissionServiceImpl implements PermissionService {
|
||||
// 新增角色
|
||||
Role role = new Role();
|
||||
role.setRoleName(form.getRoleName());
|
||||
role.setDescription("无");
|
||||
role.setRoleDescription("无");
|
||||
bd.getBusinessDatabase().doInsert(role);
|
||||
|
||||
// 新增角色和用户、角色和权限的关联
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user