- 取货失败审核同意后,不更新订单状态为待配送
This commit is contained in:
@@ -356,7 +356,7 @@ func (s *DefScheduler) OnOrderStatusChanged(order *model.GoodsOrder, status *mod
|
||||
}
|
||||
if !isPending {
|
||||
if status.Status == model.OrderStatusAgreeFailedGetGoods || status.Status == model.OrderStatusDeliverFailed {
|
||||
s.updateOrderByBill(order, nil, true)
|
||||
s.updateOrderByBill(order, nil, status.Status != model.OrderStatusAgreeFailedGetGoods)
|
||||
s.removeWaybillFromMap(savedOrderInfo, order.VendorID)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user