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.StockSaleReceiptReport;
import com.baomidou.mybatisplus.service.IService;
import com.yh.saas.plugin.yiliangyiyun.entity.view.BiViewInfo;

import java.util.List;

/**
 * <p>
 * 现货销售出库报表 服务类
 * </p>
 *
 * @author Gdc
 * @since 2021-09-22
 */
public interface IStockSaleReceiptReportService extends IService<StockSaleReceiptReport> {

    /**
     * 销售出库统计列表
     *
     * @param stockSaleReceiptReport
     * @return
     */
    Page<StockSaleReceiptReport> selectSaleOrder(StockSaleReceiptReport stockSaleReceiptReport);

    /**
     * 定金/备注
     *
     * @param contractManagementInfo
     * @return
     */
    String disAndRemark(ContractManagementInfo contractManagementInfo);


    /**
     * 修改结算重量
     *
     * @param stockSaleReceiptReport
     * @return
     */
    String editSettlementWeight(StockSaleReceiptReport stockSaleReceiptReport);

    /**
     * 收款
     * @param stockSaleReceiptReport
     */
    String collectMoney(StockSaleReceiptReport stockSaleReceiptReport);

    /**
     * 合同编号下拉列表
     *
     * @param compId
     */
    List<ContractManagementInfo> selectContractNoList(String compId);
    /**
     * 批量开发票
     * @param stockSaleReceiptReport
     */
    String openInvoiceList(StockSaleReceiptReport stockSaleReceiptReport);


    /**
     * 统计
     */
    List<BiViewInfo> getMoney(List<BiViewInfo> biViewInfos, String seachMoth);
}
