|
@@ -423,9 +423,10 @@ namespace Hotline.FlowEngine.Workflows
|
|
|
await _workflowStepRepository.UpdateAsync(currentStep, cancellationToken);
|
|
|
}
|
|
|
|
|
|
- //更新办理人
|
|
|
- workflow.UpdateHandlers(_sessionContext.RequiredUserId, _sessionContext.RequiredOrgId,
|
|
|
- flowAssignInfo.FlowAssignType, flowAssignInfo.HandlerObjects);
|
|
|
+ //更新办理人(nextSteps无元素表示当前节点为会签办理节点且当前会签没有全部办理完成)
|
|
|
+ if (nextSteps.Any())
|
|
|
+ workflow.UpdateHandlers(_sessionContext.RequiredUserId, _sessionContext.RequiredOrgId,
|
|
|
+ flowAssignInfo.FlowAssignType, flowAssignInfo.HandlerObjects);
|
|
|
|
|
|
//todo 计算办理工作时长
|
|
|
|