Commit f6022e33 authored by zhangdongying's avatar zhangdongying
Browse files

新增根据海关编码获取申报要素列表

parent 6ae8a421
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -140,6 +140,16 @@ interface ProductServiceInterface
     */
    public function reportPoints(array $columns = ['*']): array;

    /**
     * 根据海关编码获取申报要素列表
     *
     * @param array $hsCodes 海关编码数组
     * @param array $columns 列名
     * @param array $relations 关联:['product_name', 'ingredient']
     * @return array
     */
    public function getReportPointsByHsCodes(array $hsCodes, array $columns = ['id', 'product_name_id', 'ingredient_id', 'hs_code', 'point', 'created_at'], array $relations = []): array;

    /**
     * 通过产品id获取维护的所有尺码
     * @param $id