From ffe331dd2cf39032dd2b0948427b63b31a3e9295 Mon Sep 17 00:00:00 2001 From: zhal <15900249928@163.com> Date: Sun, 31 Jul 2022 15:52:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=BB=BA=E8=A7=92=E8=89=B2=E5=9B=BE?= =?UTF-8?q?=E5=88=9B=E5=BB=BA=E5=88=B0=E8=A7=92=E8=89=B2=E6=A8=A1=E5=9E=8B?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=A4=B9=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../coe/pal/pal/repository/web/CoeProcessLevelWeb.java | 9 +++++++++ 1 file changed, 9 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 9ac6cc3e..4a883012 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 @@ -8411,6 +8411,15 @@ public class CoeProcessLevelWeb extends ActionWeb { data.add(0,methodId); data.add(1,uuid); + + + //判断如果methodID为角色图,则创建到对应角色模型文件夹中 + if(methodId.equals("org.role")){ + RowMap rowMaprole=DBSql.getMap("SELECT * FROM APP_ACT_COE_PAL_REPOSITORY WHERE PLNAME='角色模型' and PLCATEGORY='org'"); + if(rowMaprole!=null){ + parentId=rowMaprole.getString("ID"); + } + } Timestamp nowTime = new Timestamp(System.currentTimeMillis()); PALRepositoryModelImpl model = CoeProcessLevelUtil.createPALRepositoryModel(id, plRid, wsId, plname + titleName, "", 1, parentId, category, true, 1,