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

/**
 * <p>
 * 记录库存盘点信息 服务类
 * </p>
 *
 * @author Gongdc
 * @since 2021-05-25
 */
public interface IWarehouseInventoryCountInfoService extends IService<WarehouseInventoryCountInfo> {

    /**
     * 盘损记录分页查询
     *
     * @param warehouseInventoryCountInfo
     * @return
     */
    Page<WarehouseInventoryCountInfo> selectInfo(WarehouseInventoryCountInfo warehouseInventoryCountInfo);

    /**
     * 根据货名查累计量
     *
     * @param warehouseInventoryCountInfo
     * @return
     */
    WarehouseInventoryCountInfo getInfo(WarehouseInventoryCountInfo warehouseInventoryCountInfo);


    /**
     * 盘损
     */
    String addInventory(WarehouseInventoryCountInfo warehouseInventoryCountInfo);


}
