SupplierNewServiceInterface.php 901 Bytes
Newer Older
gongyuanbiao's avatar
gongyuanbiao committed
1 2 3 4 5 6
<?php


namespace Meibuyu\Rpc\Service\Interfaces\PurchaseNew;


gongyuanbiao's avatar
gongyuanbiao committed
7
interface SupplierNewServiceInterface
gongyuanbiao's avatar
gongyuanbiao committed
8 9 10 11 12 13 14
{




    /**
     * 供应商列表数据
15
     * @param  array 供应商id数组
gongyuanbiao's avatar
gongyuanbiao committed
16 17 18
     * @param  $params['company_name'] 公司名称
     * @return
     */
gongyuanbiao's avatar
gongyuanbiao committed
19
    public function list(array $params);
20

gongyuanbiao's avatar
gongyuanbiao committed
21 22 23 24 25 26
//    /**
//     * 供应商下拉框
//     * @return array
//     */
//
//    public function getCompanyOption(): string;
gongyuanbiao's avatar
gongyuanbiao committed
27

姜克保's avatar
姜克保 committed
28 29 30 31 32 33
    /**
     * 根据supplier_id 获取供应商信息
     * @param array $params [1,2,3]
     * @return array
     */
    public function getSupplierInfo(array $params): array;
34

姜克保's avatar
姜克保 committed
35 36 37 38 39
    /**
     * 通过供应商名称获取供应商信息
     * @param array $supplierName
     * @return array
     */
40
    public function getSupplierInfoByName(array $supplierName): array;
41 42 43 44 45 46
	
	  /**
     * 需要兼容的供应商
     * @return array
     */
	public function supplierMap();
gongyuanbiao's avatar
gongyuanbiao committed
47
}