设置财务负责人角色显示产品收益
This commit is contained in:
parent
6970fd4f7e
commit
3adab63b9c
@ -31,7 +31,7 @@
|
||||
xmlComponentFile = ARE.replaceARETags(xmlComponentFile);
|
||||
//产品组件筛选条件
|
||||
ArrayList<String> roleTable = CurUser.getRoleTable();
|
||||
System.out.println( roleTable );
|
||||
System.out.println( "======roleTable: "+roleTable );
|
||||
String xmlComponentTags = "Component||Status='1' and PRODUCT_TYPE like '" + productType2 + "'";
|
||||
//产品组件关键字
|
||||
String componentKeys = "ID";
|
||||
@ -102,10 +102,9 @@
|
||||
}
|
||||
}
|
||||
List<BusinessObject> boList = XMLHelper.getBusinessObjectList(xmlFile, xmlTags, keys);
|
||||
|
||||
for(int i = 0; i < boList.size(); i ++){
|
||||
BusinessObject bo = boList.get(i);
|
||||
|
||||
if(roleTable.contains("800R00000072") && !bo.getString("ID").equals("PRD0390"))continue;
|
||||
List<BusinessObject> boComponentList = BusinessObjectHelper.getBusinessObjectsBySql(componentList, "Type like :Type", "Type",bo.getString("ID"));
|
||||
if(boComponentList == null || boComponentList.isEmpty()) continue;
|
||||
%>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user