权限表与平台字段冲突调整

This commit is contained in:
ys.git 2025-12-04 16:21:04 +08:00
parent c9a5fc9893
commit 95ac730f3e
3 changed files with 3 additions and 3 deletions

View File

@ -15,5 +15,5 @@ public class Permission extends MpaasBasePojo {
private String id; private String id;
private String permissionName; private String permissionName;
private String permPath; private String permPath;
private String description; private String perDescription;
} }

View File

@ -14,5 +14,5 @@ public class Role extends MpaasBasePojo {
@RowID(value = "roles_s", type = RowIDType.UUID) @RowID(value = "roles_s", type = RowIDType.UUID)
private String id; private String id;
private String roleName; private String roleName;
private String description; private String roleDescription;
} }

View File

@ -52,7 +52,7 @@ public class PermissionServiceImpl implements PermissionService {
// 新增角色 // 新增角色
Role role = new Role(); Role role = new Role();
role.setRoleName(form.getRoleName()); role.setRoleName(form.getRoleName());
role.setDescription(""); role.setRoleDescription("");
bd.getBusinessDatabase().doInsert(role); bd.getBusinessDatabase().doInsert(role);
// 新增角色和用户角色和权限的关联 // 新增角色和用户角色和权限的关联