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

import com.yh.saas.plugin.yiliangyiyun.entity.ContractManagementInfo;
import com.yh.saas.plugin.yiliangyiyun.entity.WarehouseInOutInfo;
import com.baomidou.mybatisplus.mapper.BaseMapper;

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

/**
 * <p>
 * 记录出入库信息 Mapper 接口
 * </p>
 *
 * @author Gongdc
 * @since 2021-05-21
 */
public interface WarehouseInOutInfoMapper extends BaseMapper<WarehouseInOutInfo> {
    /**
     * 根据条件流转记录总数
     *
     * @param pageView
     * @return
     */
    Integer getCountByCondition(Map<String, Object> pageView);
    Integer selectCountCompany(Map<String, Object> pageView);

    /**
     * 根据条件查询流转记录列表
     *
     * @param pageView
     * @return
     */
    List<WarehouseInOutInfo> getListByCondition(Map<String, Object> pageView);
    /**
     * 根据条件流转记录总数(临时仓库)
     *
     * @param pageView
     * @return
     */
    Integer getCountByConditionTemporary(Map<String, Object> pageView);

    /**
     * 根据条件查询流转记录列表(临时仓库)
     *
     * @param pageView
     * @return
     */
    List<WarehouseInOutInfo> getListByConditionTemporary(Map<String, Object> pageView);


    /**
     * 关键字查询
     *
     * @param pageView
     * @return
     */
    List<WarehouseInOutInfo> selectInfoByKeyWord(Map<String, Object> pageView);
}
