aa
This commit is contained in:
@@ -1247,6 +1247,7 @@ func (c *OrderManager) AmendMissingOrders(ctx *jxcontext.Context, vendorIDs []in
|
|||||||
if !model.IsOrderFinalStatus(goodsOrder.Status) {
|
if !model.IsOrderFinalStatus(goodsOrder.Status) {
|
||||||
if goodsOrder.BusinessType == model.BusinessTypeImmediate {
|
if goodsOrder.BusinessType == model.BusinessTypeImmediate {
|
||||||
if time.Now().Sub(goodsOrder.OrderCreatedAt).Hours() >= orderSubTimeImmediatelyArrive {
|
if time.Now().Sub(goodsOrder.OrderCreatedAt).Hours() >= orderSubTimeImmediatelyArrive {
|
||||||
|
globals.SugarLogger.Debugf("AmendMissingOrders ListOrders3 order :%v", utils.Format4Output(goodsOrder, true))
|
||||||
updateOrderStatusList = append(updateOrderStatusList, goodsOrder)
|
updateOrderStatusList = append(updateOrderStatusList, goodsOrder)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user