|
|
@@ -145,6 +145,7 @@ Class CommodityService
|
|
|
return $query->get();
|
|
|
}
|
|
|
|
|
|
+ /* 批量更新 */
|
|
|
public function batchUpdate(array $params){
|
|
|
return app(BatchUpdateService::class)->batchUpdate('commodities', $params);
|
|
|
}
|
|
|
@@ -174,7 +175,7 @@ Class CommodityService
|
|
|
return $commodities->get();
|
|
|
}
|
|
|
|
|
|
- /* 通过货主代码与条形码寻找FLUX商品补充至WMS */
|
|
|
+ /* 通过货主代码与条形码寻找FLUX商品补充至WMS 单条*/
|
|
|
public function ownerAndBarcodeFirstOrCreate(Owner $owner,$barcode){
|
|
|
$wmsCommodity = app('oracleBasSkuService')->first(['customerid'=>$owner->code, 'barcode'=>$barcode]);
|
|
|
if (!$wmsCommodity) return null;
|