From f98c9e2d7dca48da3a8bf2ec4028cce77237f17d Mon Sep 17 00:00:00 2001 From: yujh_java Date: Thu, 26 Jun 2025 11:16:20 +0800 Subject: [PATCH] =?UTF-8?q?=E9=99=90=E5=88=B6=E6=96=87=E4=BB=B6=E6=96=B0?= =?UTF-8?q?=E5=BB=BA=E6=97=B6=EF=BC=8C=E5=BF=85=E9=A1=BB=E6=98=AF=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=A4=B9=E6=88=96=E8=80=85=E6=B5=81=E7=A8=8B=E6=9E=B6?= =?UTF-8?q?=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../apps/coe/pal/pal/repository/web/CoeProcessLevelWeb.java | 5 +++++ 1 file changed, 5 insertions(+) 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 05b08ddb..5d1076c2 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 @@ -8627,6 +8627,11 @@ public class CoeProcessLevelWeb extends ActionWeb { * @return */ public String getPalProcessLevelCreateMethodList(String category, String methodId, String fileId) { + if(!"process.framework".equals(methodId) && !"default".equals(methodId)){//不是架构,或者文件夹 + ResponseObject ro = ResponseObject.newErrResponse(); + ro.msg("methodId:"+methodId+"当前所选择目录不是文件夹或者流程架构,请选择正确的目录!"); + return ro.toString(); + } ResponseObject ro = ResponseObject.newOkResponse(); JSONArray fileArr = new JSONArray();// 文件类模型,可以画图 JSONArray folderArr = new JSONArray();// 文件夹类模型,作为文件夹