From 5e4a5c34ad916a0973e9500423c520cef3067947 Mon Sep 17 00:00:00 2001 From: zhal <15900249928@163.com> Date: Wed, 3 Aug 2022 10:14:01 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E7=82=B9=E5=87=BB=E6=96=B0?= =?UTF-8?q?=E5=BB=BA=E6=96=87=E4=BB=B6=E8=BF=87=E6=BB=A4=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../apps/coe/pal/pal/method/cache/PALMethodCache.java | 3 +++ .../apps/coe/pal/pal/repository/web/CoeProcessLevelWeb.java | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/method/cache/PALMethodCache.java b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/method/cache/PALMethodCache.java index 59119e91..0b42092c 100755 --- a/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/method/cache/PALMethodCache.java +++ b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/method/cache/PALMethodCache.java @@ -68,6 +68,9 @@ public class PALMethodCache { String k = iterator.next(); if (k.startsWith(method)) { + if(method.equals("data")){ + continue; + } //如果是控制类过滤到制度图 if(method.equals("control")){ if(k.equals("control.policy")){ diff --git a/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/repository/web/CoeProcessLevelWeb.java b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/repository/web/CoeProcessLevelWeb.java index a8476f49..e6bcde4c 100755 --- a/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/repository/web/CoeProcessLevelWeb.java +++ b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/repository/web/CoeProcessLevelWeb.java @@ -7914,9 +7914,9 @@ public class CoeProcessLevelWeb extends ActionWeb { methodObj.put("havingCreatePerm",true); }else if(category.equals("control")&&model.getSchema().contains("制度图")){ methodObj.put("havingCreatePerm",false); - }else if(category.equals("data")&&model.getSchema().contains("表单图")){ + }/*else if(category.equals("data")&&model.getSchema().contains("表单图")){ methodObj.put("havingCreatePerm",false); - } else{ + }*/ else{ methodObj.put("havingCreatePerm",PALMethodManager.getInstance().havingCreateMethodPerm(category, methodId, c, model.getId())); }