package com.ruoyi.warehouseBusiness.component;

import com.ruoyi.reportManagement.domain.TWhgenleg;
import com.ruoyi.warehouseBusiness.domain.TWarehouseBills;
import com.ruoyi.warehouseBusiness.domain.TWarehousebillsitems;

/**
 * @author caifc
 * @date 2021-11-11 9:14
 */
public interface QueryWhgenlegService {

    /**
     * 仓库查询库存总帐
     *
     * @param warehouseBills 主表信息
     * @param item           明细表信息
     * @param ifCntrno       是否判断箱号
     * @return 库存总帐
     */
    TWhgenleg stockWhgenleg(TWarehouseBills warehouseBills, TWarehousebillsitems item, String ifCntrno, String operate);

    /**
     * 仓库查询库存总帐
     *
     * @param warehouseBills 主表信息
     * @param item           明细表信息
     * @param ifCntrno       是否判断箱号
     * @return 库存总帐
     */
    TWhgenleg secondStockWhgenleg(TWarehouseBills warehouseBills, TWarehousebillsitems item, String ifCntrno, String operate);

}
