!215 fix:审批不通过报错的问题

Merge pull request !215 from 蓝天白云下/ruoyi-self
This commit is contained in:
芋道源码 2022-07-16 09:30:46 +00:00 committed by Gitee
commit c6b58dca52
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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;