Commit bc7ea1f1 authored by chentianyu's avatar chentianyu

备货计划,预测和历史销量图表

parent a21f913c
...@@ -43,5 +43,20 @@ interface StockPlanServiceInterface ...@@ -43,5 +43,20 @@ interface StockPlanServiceInterface
*/ */
public function exportProductEstimateSale(array $params); public function exportProductEstimateSale(array $params);
/**
* 获取月度历史销量
* @param array $params eg: ['product_id'=>123,'product_child_id'=>1236,'start_month'=>'2023-01','end_month'=>'2023-08']
* @return array eg: {"2023-01": "34232","2023-02": "23432"}
* @author chentianyu
*/
public function getMonthHistorySale(array $params);
/**获取月度预测销量
* @param array $params eg: ['product_id'=>123,'start_month'=>'2023-01','end_month'=>'2023-08']
* @return array eg: {"2023-01": "34232","2023-02": "23432"}
* @author chentianyu
*/
public function getMonthEstimateSale(array $params);
} }
\ 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