1
This commit is contained in:
@@ -567,7 +567,7 @@ func (c *PurchaseHandler) AcceptOrRefuseOrder(order *model.GoodsOrder, isAcceptI
|
||||
}) {
|
||||
err = nil
|
||||
goodsOrder, _ := partner.CurOrderManager.LoadOrder(order.VendorOrderID, order.VendorID)
|
||||
if goodsOrder.Status <= model.OrderStatusAccepted {
|
||||
if goodsOrder.Status < model.OrderStatusAccepted {
|
||||
order.Status = model.OrderStatusAccepted
|
||||
dao.UpdateEntity(dao.GetDB(), order, "Status")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user