mirror of
https://gitee.com/hzchunfen/erp.git
synced 2025-12-01 06:30:49 +00:00
鲜花2.0-接口测试bug修复
This commit is contained in:
parent
45ab63dc6d
commit
8a76862c0b
@ -40,7 +40,7 @@ class LossImport implements ToArray, SkipsEmptyRows
|
||||
$updateIds = [];
|
||||
$hasGoodsSkus = GoodsSku::query()
|
||||
->whereIn('external_sku_id', $externalSkuIds)
|
||||
->get(['id', 'status', 'external_sku_id', 'stock', "sale_stock", "cost"])
|
||||
->get(['id', 'status', 'external_sku_id', 'stock', "sale_stock", "cost","is_combination"])
|
||||
->toArray();
|
||||
$hasGoodsSkus = ArrayUtils::index($hasGoodsSkus, 'external_sku_id');
|
||||
$buyerUserIdKeyByNameMap = User::query()->whereIn("name", $buyerNames)->get()
|
||||
|
||||
@ -43,7 +43,7 @@ class PurchaseImport implements ToArray, SkipsEmptyRows
|
||||
$updateIds = [];
|
||||
$hasGoodsSkus = GoodsSku::query()
|
||||
->whereIn('external_sku_id', $externalSkuIds)
|
||||
->get(['id', 'status', 'external_sku_id', 'stock', "sale_stock", "cost"])
|
||||
->get(['id', 'status', 'external_sku_id', 'stock', "sale_stock", "cost","is_combination"])
|
||||
->toArray();
|
||||
$hasGoodsSkus = ArrayUtils::index($hasGoodsSkus, 'external_sku_id');
|
||||
//获取供货商
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user