Эх сурвалжийг харах

新增 CurrentIsCountersignEndStep 属性

在 `WorkflowApplication.cs` 文件中,`WorkflowApplication` 类新增了 `CurrentIsCountersignEndStep` 属性的赋值。
在 `NextStepsDto.cs` 文件中,`NextStepsDto` 类新增了 `CurrentIsCountersignEndStep` 属性,并添加了相应的注释说明该属性表示当前节点是否是会签结束节点。
xf 1 сар өмнө
parent
commit
48680292c4

+ 1 - 0
src/Hotline.Application/FlowEngine/WorkflowApplication.cs

@@ -632,6 +632,7 @@ public class WorkflowApplication : IWorkflowApplication, IScopeDependency
             CurrentStepType = currentStep.StepType,
             CurrentHandlerType = currentStep.HandlerType,
             CurrentTag = currentStep.Tag ?? string.Empty,
+            CurrentIsCountersignEndStep = currentStep.IsCountersignEndStep,
             TimeTypeOptions = EnumExts.GetDescriptions<ETimeType>().ToList(),
             IsMainHandlerShow = workflow.WorkflowDefinition.IsMainHandlerShow,
             StepId = currentStep.Id,

+ 5 - 0
src/Hotline.Share/Dtos/FlowEngine/NextStepsDto.cs

@@ -54,6 +54,11 @@ public class NextStepsDto
     /// </summary>
     public string CurrentTag { get; set; }
 
+    /// <summary>
+    /// 当前节点是否是会签结束节点
+    /// </summary>
+    public bool CurrentIsCountersignEndStep { get; set; }
+
     /// <summary>
     /// 时间类型
     /// </summary>