diff --git a/WebContent/ProductManage/ProductConfig/ProductComponentDef.jsp b/WebContent/ProductManage/ProductConfig/ProductComponentDef.jsp index 2ddb6e434..7ba93517b 100644 --- a/WebContent/ProductManage/ProductConfig/ProductComponentDef.jsp +++ b/WebContent/ProductManage/ProductConfig/ProductComponentDef.jsp @@ -31,7 +31,7 @@ xmlComponentFile = ARE.replaceARETags(xmlComponentFile); //产品组件筛选条件 ArrayList 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 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 boComponentList = BusinessObjectHelper.getBusinessObjectsBySql(componentList, "Type like :Type", "Type",bo.getString("ID")); if(boComponentList == null || boComponentList.isEmpty()) continue; %>