Commit 396d846f authored by fuyunnan's avatar fuyunnan

添加仓库的库存添加修改和库存列表接口

parent f9f52694
......@@ -99,4 +99,27 @@ interface StoreServiceInterface
*/
public function updateListQualityStatus($orderIds, $update): int;
/**
* description:通过产品id数组获取库存列表
* author: fuyunnan
* @param array $ids 产品ids 数组
* @param int $wareId 仓库id
* @return array
* @throws
* Date: 2020/7/27
*/
public function getListStock($ids, $wareId = 0): array;
/**
* description:修改产品的库存
* author: fuyunnan
* @param array $where 筛选条件 ['product_id'=>1,'warehouse_id'=>1] 必须传
* @param array $update 修改内容数组 ['cnt'=>1] 修改库存数量
* @return int
* @throws
* Date: 2020/7/27
*/
public function updateOrInsertStock($where, $update): int;
}
\ No newline at end of file
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