From e62acb95c7d1b677939f33e323948e62d265a9d9 Mon Sep 17 00:00:00 2001 From: hanjian <272005125@qq.com> Date: Wed, 21 Aug 2024 11:15:47 +0800 Subject: [PATCH] update --- .../com/blueland/ebpm/rest/ProcessInstanceController.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ebpm-process-rest/src/main/java/com/blueland/ebpm/rest/ProcessInstanceController.java b/ebpm-process-rest/src/main/java/com/blueland/ebpm/rest/ProcessInstanceController.java index b98ab81..69fb588 100644 --- a/ebpm-process-rest/src/main/java/com/blueland/ebpm/rest/ProcessInstanceController.java +++ b/ebpm-process-rest/src/main/java/com/blueland/ebpm/rest/ProcessInstanceController.java @@ -255,14 +255,6 @@ public class ProcessInstanceController { public ProcessInstanceBean nextExcute(@RequestBody ProcessInputModel model){ Map result = new HashMap(); - // 越权校验,流程提交人是否为当前待办审核员 - TaskEntity task = (TaskEntity) taskService.createTaskQuery() - .taskId(model.getWf_curActInstId()).taskAssignee(model.getWf_sendUserId()) - .singleResult(); - if (task == null) { - throw new RestException(ExceptionErrorCode.B2001.name(), "task is not found"); - } - if(RestUtils.isEmpty(model.getWf_sendUserId())) { throw new RestException(ExceptionErrorCode.B2001.name(), "wf_sendUserId is null"); }