【fix】修复保存角色组织权限 无法修改角色名称的问题

This commit is contained in:
nixj 2024-06-19 09:56:17 +08:00
parent 87a1cb11fc
commit b4bd0fd02b
1 changed files with 3 additions and 0 deletions

View File

@ -58,6 +58,9 @@ public class Role implements Serializable {
if (roleOrganizationList == null) { if (roleOrganizationList == null) {
roleOrganizationList = new ArrayList<>(); roleOrganizationList = new ArrayList<>();
} }
if (roleOrgParam.getRoleName() != null) {
this.setRoleName(roleOrgParam.getRoleName());
}
if (roleOrgParam.getSort() != null) { if (roleOrgParam.getSort() != null) {
this.setSort(roleOrgParam.getSort()); this.setSort(roleOrgParam.getSort());
} }