|
findOrgUnitsHasCActivity(list(fileclerk(fileType(getProcessData1()))), true)
list里会将返回值看成一个整的字符串,怎么才能拆开来
public static String fileclerk(String fileType){
String org = "";
if(fileType != null){
if(fileType.indexOf("财务类") != -1){
org += "'/100000.ogn/100006.dpt',";
}
if(fileType.indexOf("人力类") != -1){
org += "'/100000.ogn/100009.dpt',";
}
if(fileType.indexOf("综合类") != -1){
org += "'/100000.ogn/100002.dpt',";
}
if(fileType.indexOf("市场类") != -1){
org += "'/100000.ogn/100004.dpt',";
}
}
if(org.length()>1){
org = org.substring(0, org.length()-1);
}
System.out.println(org);
return org;
}
|
|