|
@@ -1844,11 +1844,11 @@ namespace Hotline.FlowEngine.Workflows
|
|
|
//1. create terminal trace 2. 撤回至startStep
|
|
|
var newStep = await DuplicateStepWithTraceAsync(workflow, startCountersignStep, EWorkflowTraceStatus.Normal, cancellationToken);
|
|
|
|
|
|
+ if (startCountersignStep.Id == workflow.TopCountersignStepId)
|
|
|
+ workflow.UpdateActualStepWhenAssign(newStep, startCountersignStep.HandlerOrgName, startCountersignStep.HandlerOrgId);
|
|
|
+
|
|
|
if (startCountersignStep.IsTopCountersignEndStep(workflow.TopCountersignStepId))
|
|
|
- {
|
|
|
workflow.TopCountersignStepId = startCountersignStep.CountersignStartStepId;
|
|
|
- workflow.UpdateActualStepWhenAssign(newStep, startCountersignStep.HandlerOrgName, startCountersignStep.HandlerOrgId);
|
|
|
- }
|
|
|
|
|
|
if (workflow.CheckIfCountersignOver())
|
|
|
workflow.EndCountersign();
|