PurchaseInfoServiceInterface.php 1.31 KB
Newer Older
liu lu's avatar
liu lu committed
1 2 3 4 5 6 7 8
<?php


namespace Meibuyu\Rpc\Service\Interfaces\PurchaseNew;


interface PurchaseInfoServiceInterface
{
liu lu's avatar
liu lu committed
9 10 11 12 13 14 15 16 17 18 19 20 21 22


    /**
     * 同步请款状态
     * 审核通过
     * {
         "purchase_id":"采购单id",
     *   "reject_reason":"驳回缘由", 审核驳回需要填充
     *   "flag":true|false  //true审核通过 false审核驳回
     * }
     * @return mixed
     */
    public function syncApplyMoneyStatus($post);

liu lu's avatar
liu lu committed
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
    /**
     * 扫描物流号或批次号查询
     * @param $scanNo
     * @return array
     */
    public function getShippingInfo($scanNo): array;

    /**
     * 分页查询
     * @param int $page 当前第几页
     * @param int $pageSize 每页显示数
     * @return array
     */
    public function getShippingList($page=1,$pageSize=10): array;


liu lu's avatar
liu lu committed
39 40 41 42 43 44 45 46
    /**
     * 根据批次号查询采购信息
     * @param array $batchNo 批次号数组
     * @return array
     */
    public function getPurchaseInfoArrByBatchNo(array $batchNo) :array;


47 48 49 50


    /**
     * 子订单号获取物流信息
51
     * @param  array $subOrderNos
52 53
     * @return array
     */
54
    public function getLogisticsInfo(array $subOrderNos);
55

56 57 58 59 60 61 62 63 64 65 66 67 68


    /**
     * 财务核算完成同步采购更新状态
     * @param $purchaseId
     * @return mixed
     */
    public function syncAccountingComplete($purchaseId):bool;





liu lu's avatar
liu lu committed
69
}