Commit 001c1089 authored by zhangdongying's avatar zhangdongying

根据仓库子产品ID获取列表

parent 38030c74
......@@ -139,4 +139,14 @@ interface PlatformProductChildServiceInterface
* @return array keyBy('id')
*/
public function getPackListByIds(int $siteId, array $ids): array;
/**
* 根据仓库子产品ID获取列表
*
* @param array $childProductIds 仓库子产品ID数组
* @param array $columns 平台子产品表的字段
* @param array $relations 平台子产品的关联关系,支持:["platform_product","product_child","weight","packs"]
* @return array
*/
public function getListByChildProductIds(array $childProductIds, array $columns = ['*'], array $relations = []): 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