fix: 审批不通过报错 Query return 5 results instead of max 1
This commit is contained in:
parent
c92cc26171
commit
16855893d2
@ -63,7 +63,7 @@ public class BpmTaskEventListener extends AbstractFlowableEngineEventListener {
|
||||
|
||||
@Override
|
||||
protected void activityCancelled(FlowableActivityCancelledEvent event) {
|
||||
HistoricActivityInstance activity = activityService.getHistoricActivityByExecutionId(event.getExecutionId());
|
||||
HistoricActivityInstance activity = activityService.getHistoricActivityByExecutionId(event.getActivityId());
|
||||
if (activity == null) {
|
||||
log.error("[activityCancelled][使用 executionId({}) 查找不到对应的活动实例]", event.getExecutionId());
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user