|
@@ -4599,7 +4599,7 @@ public class OrderController : BaseController
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- await _orderRepository.Updateable().SetColumns(o => new Orders.Order() { Status = special.Status })
|
|
|
+ await _orderRepository.Updateable().SetColumns(o => new Orders.Order() { Status = special.Status.Value })
|
|
|
.Where(o => o.Id == order.Id).ExecuteCommandAsync(HttpContext.RequestAborted);
|
|
|
}
|
|
|
}
|
|
@@ -4708,7 +4708,7 @@ public class OrderController : BaseController
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- await _orderRepository.Updateable().SetColumns(o => new Orders.Order() { Status = special.Status })
|
|
|
+ await _orderRepository.Updateable().SetColumns(o => new Orders.Order() { Status = special.Status.Value })
|
|
|
.Where(o => o.Id == order.Id).ExecuteCommandAsync(HttpContext.RequestAborted);
|
|
|
}
|
|
|
}
|