|
@@ -560,8 +560,8 @@ namespace Hotline.FlowEngine.Workflows
|
|
|
var trace = await PreviousTraceAsync(workflow.Id, dto, currentStep, cancellationToken);
|
|
|
|
|
|
//复制上一个节点为待接办
|
|
|
- var newPrevStep =
|
|
|
- await DuplicateStepWithTraceAsync(workflow, prevStep, EWorkflowTraceStatus.Previous, cancellationToken);
|
|
|
+ var newPrevStep = await DuplicateStepWithTraceAsync(workflow, prevStep, EWorkflowTraceStatus.Previous,
|
|
|
+ cancellationToken);
|
|
|
|
|
|
//remove workflow.steps
|
|
|
await _workflowStepRepository.RemoveRangeAsync(removeSteps, cancellationToken);
|
|
@@ -1591,7 +1591,7 @@ namespace Hotline.FlowEngine.Workflows
|
|
|
newStep.StartCountersignId = step.StartCountersignId;
|
|
|
newStep.CountersignId = step.CountersignId;
|
|
|
newStep.IsStartedCountersignEnd = step.IsStartedCountersignEnd;
|
|
|
- //await _workflowStepRepository.AddAsync(newStep, cancellationToken);
|
|
|
+ await _workflowStepRepository.AddAsync(newStep, cancellationToken);
|
|
|
|
|
|
await CreateTraceAsync(workflow, newStep, traceStatus, cancellationToken);
|
|
|
|