【fix】修复保存角色组织权限 无法修改角色名称的问题
This commit is contained in:
parent
87a1cb11fc
commit
b4bd0fd02b
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue