1
This commit is contained in:
@@ -269,10 +269,10 @@ func init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if isAcceptIt {
|
if isAcceptIt {
|
||||||
if err == nil {
|
//if err == nil {
|
||||||
sch.notifyNewOrder(order, false)
|
// sch.notifyNewOrder(order, false)
|
||||||
msghub.OnNewOrder(order)
|
// msghub.OnNewOrder(order)
|
||||||
}
|
//}
|
||||||
} else {
|
} else {
|
||||||
partner.CurOrderManager.OnOrderMsg(order, "黑名单拒单", "")
|
partner.CurOrderManager.OnOrderMsg(order, "黑名单拒单", "")
|
||||||
}
|
}
|
||||||
@@ -412,10 +412,7 @@ func (s *DefScheduler) OnOrderNew(order *model.GoodsOrder, isPending bool, isAut
|
|||||||
mtwm.GetAPI(order.VendorOrgCode, jxutils.GetSaleStoreIDFromOrder(order), order.VendorStoreID).PushPrintMsg(order.VendorOrderID)
|
mtwm.GetAPI(order.VendorOrgCode, jxutils.GetSaleStoreIDFromOrder(order), order.VendorStoreID).PushPrintMsg(order.VendorOrderID)
|
||||||
}
|
}
|
||||||
if order.Status >= model.OrderStatusNew {
|
if order.Status >= model.OrderStatusNew {
|
||||||
if order.JxStoreID == 669512 {
|
if !isPending && order.Status >= model.OrderStatusNew { // 有订单消息错序,先收到接单消息,再收到新订单消息,导致接单TIMER不动作,这里补一下
|
||||||
globals.SugarLogger.Debugf("-------------printOrder:%s,isPending:%v", utils.Format4Output(order, false), isPending)
|
|
||||||
}
|
|
||||||
if !isPending && order.Status >= model.OrderStatusAccepted { // 有订单消息错序,先收到接单消息,再收到新订单消息,导致接单TIMER不动作,这里补一下
|
|
||||||
s.notifyNewOrder(order, isAuto)
|
s.notifyNewOrder(order, isAuto)
|
||||||
msghub.OnNewOrder(order)
|
msghub.OnNewOrder(order)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user