|
@@ -45,9 +45,6 @@ public class OrganizationServiceImpl extends BaseServiceImpl<Integer, Organizati
|
|
|
throw new BizException("获取用户信息失败");
|
|
|
}
|
|
|
Integer userId = sysUser.getId();
|
|
|
- if(sysUser.getIsSuperAdmin()){
|
|
|
- userId = null;
|
|
|
- }
|
|
|
return organizationDao.queryEmployeeOrgan(userId);
|
|
|
}
|
|
|
|
|
@@ -72,4 +69,4 @@ public class OrganizationServiceImpl extends BaseServiceImpl<Integer, Organizati
|
|
|
}
|
|
|
return org;
|
|
|
}
|
|
|
-}
|
|
|
+}
|