xf 1 år sedan
förälder
incheckning
42ec4e2543

+ 2 - 4
src/Hotline.Application/Handlers/FlowEngine/WorkflowRecallHandler.cs

@@ -52,18 +52,16 @@ public class WorkflowRecallHandler : INotificationHandler<RecallNotify>
         switch (workflow.ModuleCode)
         {
             case WorkflowModuleConsts.OrderHandle:
-                var order = await _orderDomainService.GetOrderAsync(workflow.ExternalId, withHotspot: true, withAcceptor: true, 
+                var order = await _orderDomainService.GetOrderAsync(workflow.ExternalId, withHotspot: true, withAcceptor: true,
                     withExtension: true, cancellationToken: cancellationToken);
                 _mapper.Map(workflow, order);
                 if (notification.TargetStep.StepType is EStepType.Start)
                 {
                     order.Status = EOrderStatus.SpecialToUnAccept;
-                    order.SignerId = "";
-                    order.SignerName = "";
                     order.BackToUnsign();
                 }
 
-                await _orderRepository.UpdateAsync(order, cancellationToken);
+                await _orderRepository.UpdateAsync(order, false, cancellationToken);
 
                 //if (data.External != null && data.External.TimeLimit.HasValue && data.External.TimeLimitUnit.HasValue)
                 //{