|
@@ -14,6 +14,9 @@ public abstract class StepBasicEntity : CreationEntity
|
|
|
{
|
|
|
public string WorkflowId { get; set; }
|
|
|
|
|
|
+ /// <summary>
|
|
|
+ /// 业务唯一标识
|
|
|
+ /// </summary>
|
|
|
public string? ExternalId { get; set; }
|
|
|
|
|
|
#region 业务模块(冗余)
|
|
@@ -206,6 +209,13 @@ public abstract class StepBasicEntity : CreationEntity
|
|
|
/// </summary>
|
|
|
public DateTime? HandleTime { get; set; }
|
|
|
|
|
|
+ /// <summary>
|
|
|
+ /// 角色id(如果指派给角色)
|
|
|
+ /// </summary>
|
|
|
+ public string? RoleId { get; set; }
|
|
|
+
|
|
|
+ public string? RoleName { get; set; }
|
|
|
+
|
|
|
#endregion
|
|
|
|
|
|
#region Definition
|
|
@@ -409,4 +419,16 @@ public abstract class StepBasicEntity : CreationEntity
|
|
|
public bool IsInCountersign() => CountersignPosition != ECountersignPosition.None;
|
|
|
|
|
|
#endregion
|
|
|
-}
|
|
|
+}
|
|
|
+
|
|
|
+/*
|
|
|
+feature:
|
|
|
+1. step增加字段记录roleId, roleName
|
|
|
+2. 指派时为对应办理对象赋值,办理时为所有办理对象字段赋值
|
|
|
+3. 配置办理对象为角色时,如果未指定办理人则指派给角色办理
|
|
|
+4. thk从默认派单池中分配给对应办理人时指定办理对象
|
|
|
+refactor:
|
|
|
+1. step增加字段记录发起会签或是或签
|
|
|
+2. status增加或签无需办理状态
|
|
|
+3. 办理节点时判断是否立即结束会签或者等全部节点办完再结束
|
|
|
+ */
|