1
This commit is contained in:
@@ -2,6 +2,7 @@ package defsch
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"git.rosy.net.cn/jx-callback/business/partner/purchase/mtwm"
|
||||
"math/rand"
|
||||
"sort"
|
||||
"strings"
|
||||
@@ -408,6 +409,8 @@ func (s *DefScheduler) OnOrderNew(order *model.GoodsOrder, isPending bool, isAut
|
||||
}
|
||||
msghub.OnNewOrder(order)
|
||||
}
|
||||
} else if order.VendorID == model.VendorIDMTWM {
|
||||
mtwm.GetAPI(order.VendorOrgCode, jxutils.GetSaleStoreIDFromOrder(order), order.VendorStoreID).PushPrintMsg(order.VendorOrderID)
|
||||
}
|
||||
if order.Status >= model.OrderStatusNew {
|
||||
if !isPending && order.Status >= model.OrderStatusAccepted { // 有订单消息错序,先收到接单消息,再收到新订单消息,导致接单TIMER不动作,这里补一下
|
||||
|
||||
Reference in New Issue
Block a user