REQ-3581: 保留超级管理员列表
This commit is contained in:
parent
fd296aff3e
commit
2d374a8729
@ -58,6 +58,8 @@ public class EssOrg extends BaseEntity<EssOrg> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public boolean isPotentialSuperAdmin(Long personId) {
|
public boolean isPotentialSuperAdmin(Long personId) {
|
||||||
|
if (superAdminPersonId != null && superAdminPersonId.equals(personId))
|
||||||
|
return true;
|
||||||
return getOrCreateExt().isPotentialSuperAdmin(personId);
|
return getOrCreateExt().isPotentialSuperAdmin(personId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user