Skip to content

Commit

Permalink
fix(任务模块): 发布抄送事件后查询不到抄送人员
Browse files Browse the repository at this point in the history
  • Loading branch information
Tariq committed Aug 27, 2024
1 parent ffce590 commit 351bdf9
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -927,12 +927,13 @@ public void saveTaskCc(NodeModel nodeModel, FlwTask flwTask, FlowCreator flowCre
flwHisTask.calculateDuration();
hisTaskDao.insert(flwHisTask);

// 任务监听器通知
this.taskNotify(EventType.cc, () -> flwHisTask, nodeModel, flowCreator);

// 抄送人员
for (NodeAssignee nodeUser : nodeUserList) {
hisTaskActorDao.insert(FlwHisTaskActor.ofNodeAssignee(nodeUser, flwHisTask.getInstanceId(), flwHisTask.getId()));
}

// 任务监听器通知
this.taskNotify(EventType.cc, () -> flwHisTask, nodeModel, flowCreator);
}
}

Expand Down

0 comments on commit 351bdf9

Please sign in to comment.