Commit cd213a3c authored by zhangdongying's avatar zhangdongying

新增批量更新子产品RPC

parent 50165b77
......@@ -143,4 +143,12 @@ interface ProductChildServiceInterface
* @return array GroupBy('product_id')
*/
public function getListByProductIds(array $productIds, array $columns = ['*']): array;
/**
* 批量更新子产品
*
* @param array $updates 更新数据,[['id' => 1, 'cost' => '1.11'], ['id' => 2, 'cost' => '1.11']]
* @return bool
*/
public function updateChildProducts(array $updates): bool;
}
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