|
@@ -2724,7 +2724,7 @@ public class OrderApplication : IOrderApplication, IScopeDependency
|
|
|
var status = EOrderStatus.WaitForAccept;
|
|
|
if (isPaiDan)
|
|
|
{
|
|
|
- order.Status = EOrderStatus.Handling;
|
|
|
+ status = EOrderStatus.Handling;
|
|
|
}
|
|
|
await _orderRepository.Updateable().SetColumns(o => new Order { Status = status }).Where(o => o.Id == order.Id).ExecuteCommandAsync(cancellationToken);
|
|
|
//await _orderRepository.UpdateAsync(order, cancellationToken);
|