fix:sql bug
This commit is contained in:
parent
01e4ddf17c
commit
a261c21284
@ -132,7 +132,9 @@ public class TrackOrderService : ApplicationService
|
||||
|
||||
if (order == default) throw new BusinessException(message: "订单不存在");
|
||||
|
||||
return await _orderRepository.UpdateColumnAsync(order, x => x.IsCompleted == input.IsCompleted);
|
||||
order.IsCompleted = input.IsCompleted;
|
||||
|
||||
return await _orderRepository.UpdateColumnAsync(order, x => new { x.IsCompleted });
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user