Loading src/Service/Interfaces/Product/ProductServiceInterface.php +10 −0 Original line number Diff line number Diff line Loading @@ -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 Loading Loading
src/Service/Interfaces/Product/ProductServiceInterface.php +10 −0 Original line number Diff line number Diff line Loading @@ -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 Loading