+ RegisterPurchaseOrderHandler(为了适应加入的京西自营商城)
This commit is contained in:
@@ -1055,7 +1055,7 @@ func CreateConsumerFromOrders(ctx *jxcontext.Context, vendorIDs []int, fromDate,
|
||||
func(task *tasksch.ParallelTask, batchItemList []interface{}, params ...interface{}) (retVal interface{}, err error) {
|
||||
order := batchItemList[0].(*GoodsOrderWithOriginal)
|
||||
if isForce || order.UserID == "" {
|
||||
if handler := partner.GetPurchasePlatformFromVendorID(order.VendorID); handler != nil {
|
||||
if handler := partner.GetPurchaseOrderHandlerFromVendorID(order.VendorID); handler != nil {
|
||||
var updateFields []string
|
||||
if isForce || order.VendorUserID == "" {
|
||||
var order2 *model.GoodsOrder
|
||||
|
||||
Reference in New Issue
Block a user