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

import com.yh.saas.plugin.yiliangyiyun.entity.WarehouseBaseInfo;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.yh.saas.plugin.yiliangyiyun.entity.view.ExportVView;
import com.yh.saas.plugin.yiliangyiyun.entity.view.WarehouseNumView;
import com.yh.saas.plugin.yiliangyiyun.entity.view.WarehouseView;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 记录仓库信息 Mapper 接口
 * </p>
 *
 * @author Gongdc
 * @since 2021-05-21
 */
public interface WarehouseBaseInfoMapper extends BaseMapper<WarehouseBaseInfo> {
    /**
     * 质检信息数量包括已删除的
     *
     * @param pageView
     * @return
     */
    Integer getCountByCondition(Map<String, Object> pageView);
    /**
     * 仓库数量包括已删除的
     *
     * @param pageView
     * @return
     */
    Integer getWareHouseCountByCondition(Map<String, Object> pageView);
    /**
     * 根据条件查询付款管理列表
     *
     * @param pageView
     * @return
     */
    List<ExportVView> getListByCondition(Map<String, Object> pageView);
    /**
     * 根据条件查询出库导出列表
     *
     * @param pageView
     * @return
     */
    List<ExportVView> getListByConditionOut(Map<String, Object> pageView);
    /**
     * 今日储量明细
     *
     * @param pageView
     * @return
     */
    List<WarehouseNumView> getReservesDetailsListByCondition(Map<String, Object> pageView);
    /**
     * 储量柱形图
     *
     * @param pageView
     * @return
     */
    List<WarehouseNumView> getReservesWarehouseListByCondition(Map<String, Object> pageView);
    /**
     * 全部仓库
     *
     * @param pageView
     * @return
     */
    List<WarehouseView> getAllWarehouseListByCondition(Map<String, Object> pageView);
    /**
     * 临时仓库数量包括已删除的
     *
     * @param pageView
     * @return
     */
    Integer getTemWareHouseCountByCondition(Map<String, Object> pageView);

}
