|
@@ -59,10 +59,13 @@ public class OrderDomainService : IOrderDomainService, IScopeDependency
|
|
|
/// </summary>
|
|
|
public async Task AcceptAsync(string? orderId, CancellationToken cancellationToken)
|
|
|
{
|
|
|
+ _logger.LogInformation($"接办工单,orderId: {orderId}");
|
|
|
var order = await GetOrderAsync(orderId, cancellationToken);
|
|
|
CheckOrderIfFiled(order);
|
|
|
order.Accept();
|
|
|
+ _logger.LogInformation($"接办工单,before order.status: {order.Status}");
|
|
|
await _orderRepository.UpdateAsync(order, cancellationToken);
|
|
|
+ _logger.LogInformation($"接办工单,after order.status: {order.Status}");
|
|
|
}
|
|
|
|
|
|
/// <summary>
|