Commit af85ca1f authored by chentianyu's avatar chentianyu

备货计划,更新平台产品预测销量

parent 9e181d18
...@@ -58,5 +58,17 @@ interface StockPlanServiceInterface ...@@ -58,5 +58,17 @@ interface StockPlanServiceInterface
*/ */
public function getMonthEstimateSale(array $params); public function getMonthEstimateSale(array $params);
/**
* 更新平台产品预测销量
* @param int $userId 用户id
* @param int $siteId 站点id
* @param int $productId 仓库主产品id
* @param array $estimateSale eg:[ '2023-05-01' => 1, '2023-06-01' => 2, '2023-07-01' => 1, '2023-08-01' => 1 ]
* @return bool ture
* @throws \Throwable
* @author chentianyu
*/
public function updateSiteProductEstimateSale($userId, $siteId, $productId,array $estimateSale);
} }
\ No newline at end of file
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