
package com.tmerclub.cloud.api.feign;

import com.tmerclub.cloud.api.dto.PurchaseOrderUpdateDTO;
import com.tmerclub.cloud.api.vo.EsPageVO;
import com.tmerclub.cloud.common.order.dto.PurchaseOrderSearchDTO;
import com.tmerclub.cloud.common.order.vo.EsPurchaseOrderVO;
import com.tmerclub.cloud.common.response.ServerResponseEntity;

/**
 * 采购订单搜索
 * @author tmerclub
 * @date 2021/02/05
 */
public interface SearchPurchaseOrderFeignClient {

    /**
     * 分页获取采购订单信息
     * @param purchaseOrderSearchDTO
     * @return
     */
    ServerResponseEntity<EsPageVO<EsPurchaseOrderVO>> pagePurchaseOrder(PurchaseOrderSearchDTO purchaseOrderSearchDTO);

    /**
     * 更新采购订单状态
     * @param purchaseOrder
     */
    void updatePurchaseOrderStatus(PurchaseOrderUpdateDTO purchaseOrder);
}
