Commit 0e504ea5 authored by DESKTOP-PVAUUNL\Administrator's avatar DESKTOP-PVAUUNL\Administrator

Merge branch 'master' of git.huaperfect.com:hwq/micro

parents b2e1726b cd5f9536
......@@ -6,7 +6,7 @@
* Time: 15:07
*/
namespace Meibuyu\Micro\Service\Interfaces;
namespace Meibuyu\Micro\Service\Interfaces\Product;
interface MaterialServiceInterface
{
......@@ -21,18 +21,18 @@ interface MaterialServiceInterface
/**
* 通过id列表获取原料数组
* @param array $idList 原料id的列表
* @param array $idList 原料id的列表, 默认去重
* @param array $columns 原料表的字段,默认显示全部
* @return array
* @return array 默认keyBy('id')
*/
public function getByIdList(array $idList, array $columns = ['*']): array;
/**
* 通过内部code列表获取原料列表
* @param array $codeList
* @param array $codeList 默认去重
* @param array $columns
* @return array
* @return array 默认keyBy('internal_code')
*/
public function getListByCodeList(array $codeList, array $columns = ['id']);
public function getByCodeList(array $codeList, array $columns = ['id']);
}
......@@ -10,25 +10,4 @@ namespace Meibuyu\Micro\Service\Interfaces;
interface StoreServiceInterface
{
/**
* description:检查仓库是否存在库存
* author: fuyunnan
* @param int $warehouseId 仓库id
* @param array $productIds 子产品id数组
* Date: 2020/6/12
* @return array
*/
public function checkStock($warehouseId, $productIds): array;
/**
* description:获取物流商列表信息
* author: fuyunnan
* @param array $idList
* @param array $columns
* Date: 2020/6/13
* @return array
*/
public function listLogistics(array $idList, array $columns = ['*']): array;
}
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