update - 兼容旧版审批流程实例的同意驳回操作
This commit is contained in:
parent
8584e78da8
commit
a33f3668c3
@ -51,6 +51,9 @@ public class InternalTaskEventListener implements BpmnTaskEventListener {
|
||||
|
||||
ExtAxHiTaskInst taskInst = hiTaskInstService.getByTaskId(delegateTask.getId(),
|
||||
delegateTask.getProcessInstanceId());
|
||||
if (Objects.isNull(taskInst)) {
|
||||
return;
|
||||
}
|
||||
if (Objects.nonNull(operationType)) {
|
||||
taskInst.setStatus(String.valueOf(operationType));
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user