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