Commit bd7d5de7 authored by zhangdongying's avatar zhangdongying

新增RPC

parent 5888139f
......@@ -516,11 +516,20 @@ interface ProductServiceInterface
public function getSize($sizeIds,array $columns = ['id', 'name']);
/**
* 是否产品维护了所有生产信息
* 校验产品是否维护了所有生产信息
*
* @param int $productId 仓库主产品ID
* @param array $childProductIds 仓库子产品ID
* @param array $childProductIds 仓库子产品ID,为空表示所有产品
* @param bool $isCheckMaterial 是否校验原料是否维护
* @return bool
*/
public function checkAllProductionInfoByProduct(int $productId, array $childProductIds = []): bool;
public function checkAllProductionInfoByProduct(int $productId, array $childProductIds = [], bool $isCheckMaterial = true): bool;
/**
* 校验仓库子产品是否维护了原料
*
* @param array $childProductIds 仓库子产品ID
* @return array
*/
public function checkMaterialByChildProducts(array $childProductIds): 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