update
This commit is contained in:
parent
b610f94b2e
commit
e62acb95c7
@ -255,14 +255,6 @@ public class ProcessInstanceController {
|
||||
public ProcessInstanceBean nextExcute(@RequestBody ProcessInputModel model){
|
||||
Map<String, Object> result = new HashMap<String, Object>();
|
||||
|
||||
// 越权校验,流程提交人是否为当前待办审核员
|
||||
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");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user