查询组织所在集团
IOrgUnitPubService_C orgUnitQryService = xx.find(IOrgUnitPubService_C.class);
OrgVO[] orgVOs = orgUnitQryService.getOrgs(new String[] { pk_org }, new String[] { OrgVO.PK_GROUP });
if ((orgVOs == null) || (orgVOs.length <= 0)) {
return null;
}
return (String) orgVOs[0].getAttributeValue(OrgVO.PK_GROUP);
详细参考:
CommonUtil.java