From dd3ed0b5972d7acdbd74ea006c9c28a96550916b Mon Sep 17 00:00:00 2001 From: yujh Date: Tue, 30 Jul 2024 10:00:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E9=94=AE=E5=8F=91=E5=B8=83=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E5=B8=A6=E5=87=BA=E9=BB=98=E8=AE=A4=E5=80=BC=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../publisher/client/web/ProcessPublishWeb.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/com.actionsoft.apps.coe.pal.publisher/src/com/actionsoft/apps/coe/pal/publisher/client/web/ProcessPublishWeb.java b/com.actionsoft.apps.coe.pal.publisher/src/com/actionsoft/apps/coe/pal/publisher/client/web/ProcessPublishWeb.java index 537cf6f5..c1453b5f 100644 --- a/com.actionsoft.apps.coe.pal.publisher/src/com/actionsoft/apps/coe/pal/publisher/client/web/ProcessPublishWeb.java +++ b/com.actionsoft.apps.coe.pal.publisher/src/com/actionsoft/apps/coe/pal/publisher/client/web/ProcessPublishWeb.java @@ -5036,6 +5036,22 @@ public class ProcessPublishWeb extends ActionWeb { bo.set("OPTIONTYPE",optionType);//发布类型,不同的发布类型,显示不同的子表数据 bo.set("RELEASE_INSTRUCTIONS", "


关于发布《XXXXXXXXXXXX》的通知

 

各事业部、分(子)公司、总部各部(室):

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx,现下发《xxxxxxxxxxxxxxx》,请各单位遵照执行。

特此通知。

(xxxxxxxxx)单位名称

2022年7月27日

");// 流程实例状态 + + String departmentId = _uc.getUserModel().getDepartmentId(); + String allpath = SDK.getORGAPI().getDepartmentById(departmentId).getPathNameOfCache(); + String[] patharr = allpath.split("/"); + StringBuffer sb = new StringBuffer(); + for (String str : patharr) { + sb.append("'").append(str).append("'").append(","); + } + String substring = sb.substring(0, sb.length() - 1); + RowMap data = DBSql.getMap("select DEAPRTMNUM,PROCESSMNUMBER from BO_ACT_PROCESSMANAGER where ORGDEPART in (" + substring + + ")"); + if (data != null) { + bo.set("DEPARTMENT_PROOFREADER", data.getString("DEAPRTMNUM")); + bo.set("PROCESS_MANAGER", data.getString("PROCESSMNUMBER")); + } + if(optionType.equals("流程制度发布")){//创建一个子表 subBO.set("PUBLISTHTYPE","N"); subBO.set("PUBLISHFILENAME",thisModel.getName());