|
@@ -715,8 +715,8 @@ public class OrderController : BaseController
|
|
|
}
|
|
|
|
|
|
//update order
|
|
|
- if (dto.IsPutThrough)
|
|
|
- {
|
|
|
+ //if (dto.IsPutThrough)
|
|
|
+ //{
|
|
|
visit.VisitState = Share.Enums.Order.EVisitState.Visited;
|
|
|
visit.VisitTime = DateTime.Now;
|
|
|
if (!string.IsNullOrEmpty(visit.CallId))
|
|
@@ -785,11 +785,11 @@ public class OrderController : BaseController
|
|
|
await _qualityApplication.AddQualityAsync(EQualitySource.Visit, visit.Order.Id, visit.Id,
|
|
|
HttpContext.RequestAborted);
|
|
|
}
|
|
|
- }
|
|
|
- else
|
|
|
- {
|
|
|
- await _orderVisitRepository.UpdateAsync(visit, HttpContext.RequestAborted);
|
|
|
- }
|
|
|
+ //}
|
|
|
+ //else
|
|
|
+ //{
|
|
|
+ // await _orderVisitRepository.UpdateAsync(visit, HttpContext.RequestAborted);
|
|
|
+ //}
|
|
|
}
|
|
|
|
|
|
/// <summary>
|