This commit is contained in:
suyl
2021-05-06 11:28:01 +08:00
parent ba2914c1d9
commit ff5a74c39e

View File

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