Commit c363fde5 authored by zhangdongying's avatar zhangdongying

获取某多个产品下的所有子产品

parent 4ef9a193
......@@ -135,4 +135,12 @@ interface ProductChildServiceInterface
*/
public function getByIdListNew(array $idList, array $columns = ['*'], array $relations = ['color', 'size','packs.color']);
/**
* 获取某多个产品下的所有子产品
*
* @param array $productIds 产品ID数组
* @param array $columns 列名数组
* @return array GroupBy('product_id')
*/
public function getListByProductIds(array $productIds, 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