This commit is contained in:
邹宗楠
2023-12-08 14:04:46 +08:00
parent d8d9b9bd2d
commit 251afaf2f6

View File

@@ -514,8 +514,6 @@ 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)