xf 1 год назад
Родитель
Сommit
0eca924926

+ 3 - 10
src/Hotline.Api/Controllers/OrderController.cs

@@ -2387,16 +2387,9 @@ public class OrderController : BaseController
                 Opinion = dto.Cause
             };
             if (dto.AlterTime) recall.External = new External { TimeLimit = dto.TimeLimit, TimeLimitUnit = dto.TimeLimitUnit };
-            if (dto.Files.Any()) recall.Additions = dto.Files;
-            await _workflowApplication.RecallAsync(recall, HttpContext.RequestAborted);
-            // 如果是话务部 修改签收状态
-            if ("start".Equals(dto.NextStepCode))
-            {
-                var order = await _orderRepository.GetAsync(dto.OrderId);
-                order.BackToUnsign();
-                await _orderRepository.UpdateAsync(order, HttpContext.RequestAborted);
-            }
-        }
+			if (dto.Files.Any()) recall.Additions = dto.Files;
+			await _workflowApplication.RecallAsync(recall, HttpContext.RequestAborted);
+		}
     }
 
     /// <summary>

+ 1 - 1
src/Hotline/Push/FWMessage/Message.cs

@@ -136,7 +136,7 @@ namespace Hotline.Push.FWMessage
         /// 从发次数
         /// </summary>
         [SugarColumn(ColumnDescription = "从发次数")]
-        public int ResendCount { get; set; }
+        public int? ResendCount { get; set; }
 
         /// <summary>
         /// 发送人