From 243b795796203a90354467122e643a83c59b1c47 Mon Sep 17 00:00:00 2001 From: yujh Date: Thu, 15 Aug 2024 16:22:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9D=83=E9=99=90=E7=94=B3=E8=AF=B7=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../apps/coe/pal/publisher/event/AddFilePermTaskEndEvent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com.actionsoft.apps.coe.pal.publisher/src/com/actionsoft/apps/coe/pal/publisher/event/AddFilePermTaskEndEvent.java b/com.actionsoft.apps.coe.pal.publisher/src/com/actionsoft/apps/coe/pal/publisher/event/AddFilePermTaskEndEvent.java index f8117d8e..fbdeb5f4 100644 --- a/com.actionsoft.apps.coe.pal.publisher/src/com/actionsoft/apps/coe/pal/publisher/event/AddFilePermTaskEndEvent.java +++ b/com.actionsoft.apps.coe.pal.publisher/src/com/actionsoft/apps/coe/pal/publisher/event/AddFilePermTaskEndEvent.java @@ -122,7 +122,7 @@ public class AddFilePermTaskEndEvent extends ExecuteListener implements ExecuteL return; } String postPerm = oldBo.getString("POSTPERM"); - String thisPerm = ctx.getUserContext().getUserModel().getPositionNo(); + String thisPerm = SDK.getORGAPI().getUser(ctx.getProcessInstance().getCreateUser()).getPositionNo(); if(postPerm.contains(thisPerm)){//如果已经存在该岗位,则不再更新 return; }else{