Commit bc7ea1f1 authored by chentianyu's avatar chentianyu
Browse files

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

parent a21f913c
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -43,5 +43,20 @@ interface StockPlanServiceInterface
     */
    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