|
@@ -1851,6 +1851,9 @@ namespace Hotline.FlowEngine.Workflows
|
|
|
//1. create terminal trace 2. 撤回至startStep
|
|
|
var newStep = await DuplicateStepWithTraceAsync(workflow, startCountersignStep, EWorkflowTraceStatus.Normal, cancellationToken);
|
|
|
|
|
|
+ if (startCountersignStep.IsCountersignEndStep)
|
|
|
+ workflow.TopCountersignStepId = startCountersignStep.CountersignStartStepId;
|
|
|
+
|
|
|
if (workflow.CheckIfCountersignOver())
|
|
|
workflow.EndCountersign();
|
|
|
|