From f8f90e8765b52b9a408840a9e39dd9997ccb60ed Mon Sep 17 00:00:00 2001 From: zhaol <15900249928@163.com> Date: Mon, 2 Dec 2024 09:00:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=96=87=E4=BB=B6=E5=B1=9E?= =?UTF-8?q?=E6=80=A7=E6=9E=B6=E6=9E=84=E6=95=B0=E6=8D=AE=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../repository/web/CoeProcessLevelWeb.java | 23 ++++++++++++++----- 1 file changed, 17 insertions(+), 6 deletions(-) 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 b13355a7..d9db4bc6 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 @@ -11301,6 +11301,10 @@ public class CoeProcessLevelWeb extends ActionWeb { // 权限处理 CoeCooperationAPIManager.getInstance().updateCooperationPermByRepositoryMove(_uc, sourceList, targetModel.getVersionId()); + + + + return ro.toString(); } @@ -11334,7 +11338,6 @@ public class CoeProcessLevelWeb extends ActionWeb { L2 = UtilString.isEmpty(tmp) ? "/" : subName(name); } if (i == 3) { - System.out.println("xxxxxxxxxx"); System.out.println(tmp==null); L3 = UtilString.isEmpty(tmp) ? "/" : subName(name); } @@ -11371,21 +11374,25 @@ public class CoeProcessLevelWeb extends ActionWeb { } } } - + PALRepositoryPropertyDao propertyDao = new PALRepositoryPropertyDao(); //遍历source并设置这四个的属性值 for (PALRepositoryModel palRepositoryModel : sourceList) { String id = palRepositoryModel.getId(); if (L1 != null) { - DBSql.update(String.format(updateSql, L1.trim(), id, "Process_Architecture_L1")); + //DBSql.update(String.format(updateSql, L1.trim(), id, "Process_Architecture_L1")); + propertyDao.updatePropertyByPropertyId(id, "Process_Architecture_L1", L1.trim()); } if (L2 != null) { - DBSql.update(String.format(updateSql, L2.trim(), id, "Process_Architecture_L2")); + //DBSql.update(String.format(updateSql, L2.trim(), id, "Process_Architecture_L2")); + propertyDao.updatePropertyByPropertyId(id, "Process_Architecture_L2", L2.trim()); } if (L3 != null) { - DBSql.update(String.format(updateSql, L3.trim(), id, "Process_Architecture_L3")); + //DBSql.update(String.format(updateSql, L3.trim(), id, "Process_Architecture_L3")); + propertyDao.updatePropertyByPropertyId(id, "Process_Architecture_L3", L3.trim()); } if (L4 != null) { - DBSql.update(String.format(updateSql, L4.trim(), id, "Process_Architecture_L4")); + //DBSql.update(String.format(updateSql, L4.trim(), id, "Process_Architecture_L4")); + propertyDao.updatePropertyByPropertyId(id, "Process_Architecture_L4", L4.trim()); } /** * 查看改流程是否关联流程绩效 @@ -11396,6 +11403,10 @@ public class CoeProcessLevelWeb extends ActionWeb { copyAttribute(id); } } + + + + } public String subName(String name) {