Browse Source

trace 新增 Handlers,表示被指派办理对象

xf 1 year ago
parent
commit
2c73e85e01

+ 7 - 0
src/Hotline/FlowEngine/Workflows/StepBasicEntity.cs

@@ -45,6 +45,13 @@ public abstract class StepBasicEntity : CreationEntity
     /// </summary>
     public ECountersignMode CountersignMode { get; set; }
 
+    /// <summary>
+    /// 被指派办理对象(依据不同指派方式可能为:orgCode或userId),该字段subStep才会存在,stepBox不存在
+    /// 采用list类型,兼容多个办理对象可以办理同一个节点的场景
+    /// </summary>
+    [SugarColumn(ColumnDataType = "json", IsJson = true)]
+    public List<IdName> Handlers { get; set; } = new();
+
     #region 办理参数
 
     /// <summary>

+ 0 - 7
src/Hotline/FlowEngine/Workflows/WorkflowStep.cs

@@ -9,13 +9,6 @@ public class WorkflowStep : StepBasicEntity
     [SugarColumn(ColumnDataType = "json", IsJson = true)]
     public List<NextStep> NextSteps { get; set; }
 
-    /// <summary>
-    /// 被指派办理对象(依据不同指派方式可能为:orgCode或userId),该字段subStep才会存在,stepBox不存在
-    /// 采用list类型,兼容多个办理对象可以办理同一个节点的场景
-    /// </summary>
-    [SugarColumn(ColumnDataType = "json", IsJson = true)]
-    public List<IdName> Handlers { get; set; } = new();
-
     /// <summary>
     /// 前一级节点Id(stepBox此字段为上级stepBoxId,step为上级stepId),汇总节点无此字段(因可能有多个上级来源)
     /// </summary>