1
This commit is contained in:
@@ -269,10 +269,10 @@ func init() {
|
||||
}
|
||||
}
|
||||
if isAcceptIt {
|
||||
if err == nil {
|
||||
sch.notifyNewOrder(order, false)
|
||||
msghub.OnNewOrder(order)
|
||||
}
|
||||
//if err == nil {
|
||||
// sch.notifyNewOrder(order, false)
|
||||
// msghub.OnNewOrder(order)
|
||||
//}
|
||||
} else {
|
||||
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)
|
||||
}
|
||||
if order.Status >= model.OrderStatusNew {
|
||||
if order.JxStoreID == 669512 {
|
||||
globals.SugarLogger.Debugf("-------------printOrder:%s,isPending:%v", utils.Format4Output(order, false), isPending)
|
||||
}
|
||||
if !isPending && order.Status >= model.OrderStatusAccepted { // 有订单消息错序,先收到接单消息,再收到新订单消息,导致接单TIMER不动作,这里补一下
|
||||
if !isPending && order.Status >= model.OrderStatusNew { // 有订单消息错序,先收到接单消息,再收到新订单消息,导致接单TIMER不动作,这里补一下
|
||||
s.notifyNewOrder(order, isAuto)
|
||||
msghub.OnNewOrder(order)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user