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

import com.baomidou.mybatisplus.plugins.Page;
import com.yh.saas.plugin.yiliangyiyun.entity.PaymentManagement;
import com.yh.saas.plugin.yiliangyiyun.entity.SourceRelationInfo;
import com.yh.saas.plugin.yiliangyiyun.entity.WarehouseInOutInfo;
import com.yh.saas.plugin.yiliangyiyun.entity.WarehousingOrder;
import com.baomidou.mybatisplus.service.IService;
import com.yh.saas.plugin.yiliangyiyun.entity.view.PaymentView;

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

/**
 * <p>
 * 记录入库单信息 服务类
 * </p>
 *
 * @author Gdc
 * @since 2022-05-17
 */
public interface IWarehousingOrderService extends IService<WarehousingOrder> {

    /**
     * 退库货源列表
     * @param warehouseInOutInfo
     */
    Page<SourceRelationInfo> getReturnSourceList(WarehouseInOutInfo warehouseInOutInfo);

    /**
     * 信息分页列表查询
     *
     * @param warehousingOrder
     * @return
     */
    Page<WarehousingOrder> selectInfo(WarehousingOrder warehousingOrder);

    /**
     * 编辑
     *
     * @param warehousingOrder
     */
    String editInfo(WarehousingOrder warehousingOrder);
    /**
     * 付款
     * @param warehousingOrder
     */
    String payMoney(WarehousingOrder warehousingOrder);
    /**
     * 手机审核文件下载
     * @param warehousingOrder
     * @param response
     * @throws Exception
     */
    String exportPhone(WarehousingOrder warehousingOrder, HttpServletResponse response) throws Exception;
    /**
     * 手机审核数据
     * @param warehousingOrder
     * @param
     * @throws Exception
     */
    WarehousingOrder exportPhoneData(WarehousingOrder warehousingOrder);
    /**
     * 出库货源列表
     *
     * @param warehousingOrder
     * @return
     */
    Page<WarehousingOrder> selectGoodSourceInfo(WarehousingOrder warehousingOrder);

}
