|
@@ -2387,16 +2387,9 @@ public class OrderController : BaseController
|
|
Opinion = dto.Cause
|
|
Opinion = dto.Cause
|
|
};
|
|
};
|
|
if (dto.AlterTime) recall.External = new External { TimeLimit = dto.TimeLimit, TimeLimitUnit = dto.TimeLimitUnit };
|
|
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>
|
|
/// <summary>
|