From 3adab63b9c8a29ebde23b22352123fedda4e8438 Mon Sep 17 00:00:00 2001 From: gityjf <2211675158@qq.com> Date: Tue, 16 Mar 2021 17:40:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E8=B4=A2=E5=8A=A1=E8=B4=9F?= =?UTF-8?q?=E8=B4=A3=E4=BA=BA=E8=A7=92=E8=89=B2=E6=98=BE=E7=A4=BA=E4=BA=A7?= =?UTF-8?q?=E5=93=81=E6=94=B6=E7=9B=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ProductManage/ProductConfig/ProductComponentDef.jsp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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; %>