From a0202ceddd38a238cd487663ef28a3e5acf912f3 Mon Sep 17 00:00:00 2001 From: lihongyu <504404568@qq.com> Date: Fri, 30 Dec 2022 11:01:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A8=E9=80=81EHSQ=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=8F=B7=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../coe/pal/publisher/pubEvent/ProcessEndAfterEvent.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/com.actionsoft.apps.coe.pal.publisher/src/com/actionsoft/apps/coe/pal/publisher/pubEvent/ProcessEndAfterEvent.java b/com.actionsoft.apps.coe.pal.publisher/src/com/actionsoft/apps/coe/pal/publisher/pubEvent/ProcessEndAfterEvent.java index bed04100..5c0af9a3 100644 --- a/com.actionsoft.apps.coe.pal.publisher/src/com/actionsoft/apps/coe/pal/publisher/pubEvent/ProcessEndAfterEvent.java +++ b/com.actionsoft.apps.coe.pal.publisher/src/com/actionsoft/apps/coe/pal/publisher/pubEvent/ProcessEndAfterEvent.java @@ -1448,7 +1448,7 @@ public class ProcessEndAfterEvent extends ExecuteListener implements ExecuteList String sql_n = "select * from APP_ACT_COE_PAL_REPOSITORY where id = '" + publishfileid + "'"; RowMap map = DBSql.getMap(sql_n); PALRepositoryModel palRepositoryModel = PALRepositoryCache.getCache().get(publishfileid); - jsonObject_ehsq.put("verion", palRepositoryModel.getVersion()); + jsonObject_ehsq.put("version", palRepositoryModel.getVersion()+""); jsonObject_ehsq.put("releasedate", simpleDateFormat.format(new Date())); jsonObject_ehsq.put("effectivedate", simpleDateFormat.format(new Date())); jsonObject_ehsq.put("authorcode", processExecutionContext.getTaskInstance().getTarget()); // jsonObject_ehsq.put("authorcode","00116465"); @@ -1487,12 +1487,12 @@ public class ProcessEndAfterEvent extends ExecuteListener implements ExecuteList } } - System.out.println("任务办理者>>>>>>>>>>>" + processExecutionContext.getTaskInstance().getTarget()); + //System.out.println("任务办理者>>>>>>>>>>>" + processExecutionContext.getTaskInstance().getTarget()); String sessionId = new SSOUtil().registerClientSessionNoPassword( processExecutionContext.getTaskInstance().getTarget(), LoginConst.DEFAULT_LANG, "localhost", LoginConst.DEVICE_PC); - System.out.println("办理者的sessionid>>>>>>>>>>>" + sessionId); + //System.out.println("办理者的sessionid>>>>>>>>>>>" + sessionId); String downurl = downloadUtil.getzipURL(sessionId, bo.getString("TASKID"), bo.getString("PUBLISHFILENAME")); // jsonObject_ehsq.put("downloadurl","http://bpm.yili.com:8088/portal/r"+downurl.toString().substring(1)); String recordfiles = ""; @@ -1556,7 +1556,7 @@ public class ProcessEndAfterEvent extends ExecuteListener implements ExecuteList String sql_n = "select * from APP_ACT_COE_PAL_REPOSITORY where id = '" + publishfileid + "'"; RowMap map = DBSql.getMap(sql_n); PALRepositoryModel palRepositoryModel = PALRepositoryCache.getCache().get(publishfileid); - jsonObject_ehsq.put("verion", palRepositoryModel.getVersion()); + jsonObject_ehsq.put("version", palRepositoryModel.getVersion()+""); jsonObject_ehsq.put("releasedate", simpleDateFormat.format(new Date())); jsonObject_ehsq.put("effectivedate", simpleDateFormat.format(new Date())); jsonObject_ehsq.put("authorcode", processExecutionContext.getTaskInstance().getTarget());