This commit is contained in:
邹宗楠
2023-12-08 11:58:55 +08:00
parent e6cb5b1bdd
commit d8d9b9bd2d

View File

@@ -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)