qinchaoyue 4 weken geleden
bovenliggende
commit
d2feac603b
2 gewijzigde bestanden met toevoegingen van 11 en 1 verwijderingen
  1. 5 1
      src/Hotline/FlowEngine/WorkflowModules/WorkflowModuleConsts.cs
  2. 6 0
      src/Hotline/Snapshot/Industry.cs

+ 5 - 1
src/Hotline/FlowEngine/WorkflowModules/WorkflowModuleConsts.cs

@@ -59,8 +59,12 @@ public class WorkflowModuleConsts
     /// </summary>
     public const string OrderSecondaryHandling = "OrderSecondaryHandling";
 
+    /// <summary>
+    /// 随手拍工单办理流程
+    /// </summary>
+    public const string OrderHandleSnapshot = "OrderHandleSnapshot";
 
-	public static List<WorkflowModule> AllModules =>
+    public static List<WorkflowModule> AllModules =>
         new()
         {
             new(OrderHandle, "工单办理"),

+ 6 - 0
src/Hotline/Snapshot/Industry.cs

@@ -202,4 +202,10 @@ public class Industry : CreationSoftDeleteEntity
     /// </summary>
     [SugarColumn(ColumnDescription = "额外扣除积分")]
     public int? ExtraDeductedPoints { get; set; }
+
+    /// <summary>
+    /// 流程模板
+    /// </summary>
+    [SugarColumn(ColumnDescription = "流程模板")]
+    public string? WorkflowModuleConsts { get; set; }
 }