Joburgess 4 năm trước cách đây
mục cha
commit
2394cb0313

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