package com.yh.saas.plugin.yiliangyiyun.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.yh.saas.plugin.yiliangyiyun.entity.ContractManagementInfo;
import com.yh.saas.plugin.yiliangyiyun.entity.PurchaseClosingReport;
import com.baomidou.mybatisplus.service.IService;
import com.yh.saas.plugin.yiliangyiyun.entity.PurchaseReceiptReport;

import java.util.List;

/**
 * <p>
 * 采购平仓报表 服务类
 * </p>
 *
 * @author Gongdc
 * @since 2021-08-03
 */
public interface IPurchaseClosingReportService extends IService<PurchaseClosingReport> {

    /**
     * 编辑采购平仓统计
     *
     * @param purchaseClosingReport
     * @return
     */
    String editProcurementReceiptReport(PurchaseClosingReport purchaseClosingReport);


    /**
     * 采购平仓统计列表
     *
     * @param purchaseClosingReport
     * @return
     */
    Page<PurchaseClosingReport> selectPurchaseOrder(PurchaseClosingReport purchaseClosingReport);
    /**
     * 出纳付款
     * @param purchaseClosingReport
     */
    String payMoney(PurchaseClosingReport purchaseClosingReport);
    /**
     * 出纳收款
     * @param purchaseClosingReport
     */
    String collectMoney(PurchaseClosingReport purchaseClosingReport);

    /**
     * 审核
     * @param purchaseClosingReport
     * @return
     */
    String examine(PurchaseClosingReport purchaseClosingReport);
    /**
     * 合同编号下拉列表
     *
     * @param compId
     */
    List<ContractManagementInfo> selectContractNoList(String compId);
    /**
     * 查看
     * @param
     */
    PurchaseClosingReport getInfo(String id);
}
