1
This commit is contained in:
@@ -514,6 +514,8 @@ func (c *PurchaseHandler) AcceptOrRefuseOrder(order *model.GoodsOrder, isAcceptI
|
||||
if goodsOrder.Status < model.OrderStatusAccepted {
|
||||
order.Status = model.OrderStatusAccepted
|
||||
dao.UpdateEntity(dao.GetDB(), order, "Status")
|
||||
globals.SugarLogger.Debugf("============:goodsOrder= %s", utils.Format4Output(goodsOrder, false))
|
||||
globals.SugarLogger.Debugf("============:order= %s", utils.Format4Output(order, false))
|
||||
}
|
||||
} else {
|
||||
globals.SugarLogger.Warnf("mtwm AcceptOrRefuseOrder orderID:%s failed with err:%v", order.VendorOrderID, err)
|
||||
|
||||
Reference in New Issue
Block a user