|
@@ -353,7 +353,7 @@ public class User implements Serializable {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public boolean isSys() {
|
|
public boolean isSys() {
|
|
|
- if (getIssys() == null) {
|
|
|
|
|
|
|
+ if (Constant.YES != issys) {
|
|
|
setCurrentEnterpriseRoles();
|
|
setCurrentEnterpriseRoles();
|
|
|
Set<Role> roles = getRoles();
|
|
Set<Role> roles = getRoles();
|
|
|
if (!CollectionUtils.isEmpty(roles)) {
|
|
if (!CollectionUtils.isEmpty(roles)) {
|
|
@@ -366,7 +366,7 @@ public class User implements Serializable {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- return getIssys() != null && getIssys() == Constant.YES;
|
|
|
|
|
|
|
+ return issys != null && issys == Constant.YES;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@JsonIgnore
|
|
@JsonIgnore
|