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.StockPurchaseReceiptReport;
import com.baomidou.mybatisplus.service.IService;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * <p>
 * 现货采购入库报表 服务类
 * </p>
 *
 * @author Gdc
 * @since 2021-09-17
 */
public interface IStockPurchaseReceiptReportService extends IService<StockPurchaseReceiptReport> {

    /**
     * 采购入库统计
     *
     * @param stockPurchaseReceiptReport
     * @return
     */
    Page<StockPurchaseReceiptReport> selectPurchaseOrder(StockPurchaseReceiptReport stockPurchaseReceiptReport);

    /**
     * 定金/备注
     *
     * @param contractManagementInfo
     * @return
     */
    String disAndRemark(ContractManagementInfo contractManagementInfo);
    /**
     * 修改结算重量
     *
     * @param stockPurchaseReceiptReport
     * @return
     */
    String edit(StockPurchaseReceiptReport stockPurchaseReceiptReport);
    /**
     * 出纳付款
     * @param stockPurchaseReceiptReport
     */
    String payMoney(StockPurchaseReceiptReport stockPurchaseReceiptReport);
    /**
     * 合同编号下拉列表
     *
     * @param compId
     */
    List<ContractManagementInfo> selectContractNoList(String compId);
    /**
     * 查看
     *
     * @param id
     */
    StockPurchaseReceiptReport getInfo(String id);

    void export(StockPurchaseReceiptReport stockPurchaseReceiptReport, HttpServletResponse response) throws Exception;

}
