Commit 39500d3c authored by qinjunkun's avatar qinjunkun

新增获取毛利率相关接口

parent bad4c96a
...@@ -27,4 +27,15 @@ interface RateServiceInterface ...@@ -27,4 +27,15 @@ interface RateServiceInterface
* @author Zero * @author Zero
*/ */
public function getRateList(array $codes=[], array $month = []); public function getRateList(array $codes=[], array $month = []);
/**
* 获取对应品名对应的毛利率
* @param $productNameIds array 品名 ID
* @param $year string 年份
* @param string $month 月份,默认是当月
* @param bool $keyed 返回是否要按照 porudctNameIds 作为 key
* @return array
*/
public function getGrossRateByProductNameIds($productNameIds, $year, $month = '', $keyed = true): array;
} }
\ 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