Joburgess 4 年之前
父节点
当前提交
2394cb0313
共有 1 个文件被更改,包括 1 次插入4 次删除
  1. 1 4
      mec-biz/src/main/java/com/ym/mec/biz/service/impl/OrganizationServiceImpl.java

+ 1 - 4
mec-biz/src/main/java/com/ym/mec/biz/service/impl/OrganizationServiceImpl.java

@@ -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;
 	}
-}
+}