|
public static List<OrgUnit> getIniOrgUnits(String process, String activity, String deptid) {
String iniRole = getIniRole(process, activity);
System.out.println("iniRole:"+iniRole);
ArrayList<String> fidsByRoleCode = getFidsByRoleCode(iniRole, deptid);
System.out.println("getIniOrgUnits:"+fidsByRoleCode);
String cat = tool.queryTool.StringFix.cat("", "", ",", fidsByRoleCode);
List<OrgUnit> orgUnitsByFids = getOrgUnitsByFids(cat, deptid);
System.out.println("orgUnitsByFids:"+fidsByRoleCode);
return orgUnitsByFids;
}
返回值已经打印:orgUnitsByFids:[/100000.ogn/100006.dpt/889127@100006.psm, /100000.ogn/100018.dpt/200098@100018.psm, /100000.ogn/100014.dpt/J100439@100014.psm, /100000.ogn/100014.dpt/200098@100014.psm, /100000.ogn/100004.dpt/200228@100004.psm, /100000.ogn/100009.dpt/200235@100009.psm, /100000.ogn/100028.dpt/200120@100028.psm, /100000.ogn/100025.dpt/200370@100025.psm, /100000.ogn/100034.dpt/201317@100034.psm, /100000.ogn/100017.dpt/201331@100017.psm, /100000.ogn/100036.dpt/200354@100036.psm, /100000.ogn/100010.dpt/200395@100010.psm, /100000.ogn/100032.dpt/200402@100032.psm, /100000.ogn/100024.dpt/200150@100024.psm, /100000.ogn/100030.dpt/200879@100030.psm, /100000.ogn/100028.dpt/200347@100028.psm, /100000.ogn/100002.dpt/200348@100002.psm, /100000.ogn/100022.dpt/200527@100022.psm, /100000.ogn/100033.dpt/200621@100033.psm, /100000.ogn/100005.dpt/200789@100005.psm, /100000.ogn/100031.dpt/200795@100031.psm, /100000.ogn/100007.dpt/200796@100007.psm, /100000.ogn/100015.dpt/201034@100015.psm, /100000.ogn/100003.dpt/201035@100003.psm, /100000.ogn/100038.dpt/X500002@100038.psm, /100000.ogn/Py8my6uD6c90U56cpGb.dpt/200395@Py8my6uD6c90U56cpGb.psm, /100000.ogn/100018.dpt/201073@100018.psm, /100000.ogn/100040.dpt/200235@100040.psm, /100000.ogn/100037.dpt/200030@100037.psm, /100000.ogn/100020.dpt/201061@100020.psm, null]
但是选择框中没有人员:
|
|