Commit bafc94c7 authored by fuyunnan's avatar fuyunnan

Merge branch 'feature-not-warehouse'

parents 026601ae 15ab7066
...@@ -174,6 +174,26 @@ interface StoreServiceInterface ...@@ -174,6 +174,26 @@ interface StoreServiceInterface
*/ */
public function getListStock($ids, $wareId = 0, $notWareId = []): array; public function getListStock($ids, $wareId = 0, $notWareId = []): array;
/**
* description:根据筛选条件获取仓库的库存列表 对库存筛选实现大一统
* 参数格式 不需要可不传入对应的键
* $args['inTeamIds'] =[];
$args['notInTeamIds'] = [];
$args['inWhIds'] = []; //仓库id
$args['notInWhIds'] = [];
$args['inProductIds'] = [];
$args['notInProductIds'] = [];
$args['where'] = [];
$args['group'] = ['product_id'];//默认['product_id']
$args['keyBy'] = 'product_id';//默认排序
*
* author: fuyunnan
* @param array $condition 筛选条件
* @return array
* @throws
* Date: 2020/7/27
*/
public function getListStockWhere($condition): array;
/** /**
* description:检查是否有库存,有就返回库存数量(有记录) 给产品系统使用 * description:检查是否有库存,有就返回库存数量(有记录) 给产品系统使用
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment