aa
This commit is contained in:
@@ -1241,7 +1241,7 @@ func (c *OrderManager) AmendMissingOrders(ctx *jxcontext.Context, vendorIDs []in
|
||||
for _, v := range orderList {
|
||||
pair := v.(*tOrderVendorPair)
|
||||
goodsOrder := localOrderMap[jxutils.ComposeUniversalOrderID(pair.VendorOrderID, pair.VendorID)]
|
||||
if goodsOrder == nil && pair.VendorStoreID != "2391979" {
|
||||
if goodsOrder == nil {
|
||||
missingOrderList = append(missingOrderList, pair)
|
||||
} else {
|
||||
if !model.IsOrderFinalStatus(goodsOrder.Status) {
|
||||
@@ -1275,6 +1275,10 @@ func (c *OrderManager) AmendMissingOrders(ctx *jxcontext.Context, vendorIDs []in
|
||||
err = handler.AcceptOrRefuseOrder(order, true, ctx.GetUserName())
|
||||
}
|
||||
}
|
||||
} else if pair.VendorID == model.VendorIDMTWM {
|
||||
if strings.Contains(err.Error(), "token不存在或已经过期") {
|
||||
err = nil
|
||||
}
|
||||
}
|
||||
}
|
||||
return retVal, err
|
||||
|
||||
Reference in New Issue
Block a user