From 640dbee2a2bcc32151880b341f7e68984e4a17cd Mon Sep 17 00:00:00 2001 From: yujh Date: Mon, 5 Aug 2024 10:38:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=88=9B=E5=BB=BA=E5=8F=91?= =?UTF-8?q?=E5=B8=83=E6=B5=81=E7=A8=8B=E7=9A=84=E6=B5=81=E7=A8=8B=E5=8F=98?= =?UTF-8?q?=E9=87=8F=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../coe/pal/publisher/client/web/ProcessPublishWeb.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 eae700c6..d258822e 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 @@ -5043,6 +5043,7 @@ public class ProcessPublishWeb extends ActionWeb { subBoName = "BO_ACT_COE_PUBLISH_N"; } ProcessInstance processInstance = SDK.getProcessAPI().createProcessInstance(processDefId, _uc.getUID(), _uc.getUserName()+"发起流程发布流程"); + SDK.getProcessAPI().setVariable(processInstance, "createType", "pal"); BO bo =new BO(); BO subBO =new BO(); bo.set("OPTIONTYPE",optionType);//发布类型,不同的发布类型,显示不同的子表数据 @@ -5059,11 +5060,6 @@ public class ProcessPublishWeb extends ActionWeb { String substring = sb.substring(0, sb.length() - 1); RowMap data = DBSql.getMap("select DEAPRTMNUM,PROCESSMNUMBER from BO_ACT_PROCESSMANAGER where ORGDEPART in (" + substring + ")"); - - if (null == data) { - throw new AWSException("请联系管理员,配置流程经理和流程校对人!"); - } - if (data != null) { bo.set("DEPARTMENT_PROOFREADER", data.getString("DEAPRTMNUM")); bo.set("PROCESS_MANAGER", data.getString("PROCESSMNUMBER"));