1
This commit is contained in:
@@ -569,6 +569,9 @@ func ModifyPetOrderSkusStock(db *dao.DaoDB, order *model.GoodsOrder, isAdd bool)
|
||||
}
|
||||
skuIDList = append(skuIDList, sku.SkuID)
|
||||
dao.ExecuteSQL(db, `UPDATE thing_map SET sync_status = 1 WHERE vendor_thing_id = ?`, sku.SkuID)
|
||||
for _, ss := range storeSkus {
|
||||
dao.UpdateEntity(db, ss, "Stock")
|
||||
}
|
||||
}
|
||||
_, err = cms.CurVendorSync.SyncStoresSkus2(jxcontext.AdminCtx, nil, 0, db, nil, storeIdList, false, skuIDList, nil, model.SyncFlagStoreSkuModifiedMask, true, true)
|
||||
_, err = cms.SyncSkus(jxcontext.AdminCtx, nil, nil, []string{"309558"}, nil, skuIDList, true)
|
||||
|
||||
Reference in New Issue
Block a user