aa
This commit is contained in:
@@ -1241,13 +1241,12 @@ func (c *OrderManager) AmendMissingOrders(ctx *jxcontext.Context, vendorIDs []in
|
|||||||
for _, v := range orderList {
|
for _, v := range orderList {
|
||||||
pair := v.(*tOrderVendorPair)
|
pair := v.(*tOrderVendorPair)
|
||||||
goodsOrder := localOrderMap[jxutils.ComposeUniversalOrderID(pair.VendorOrderID, pair.VendorID)]
|
goodsOrder := localOrderMap[jxutils.ComposeUniversalOrderID(pair.VendorOrderID, pair.VendorID)]
|
||||||
if goodsOrder == nil {
|
if goodsOrder == nil && pair.VendorStoreID != "2391979" {
|
||||||
missingOrderList = append(missingOrderList, pair)
|
missingOrderList = append(missingOrderList, pair)
|
||||||
} else {
|
} else {
|
||||||
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