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

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

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

/**
 * <p>
 * 记录合同库存分布详情 Mapper 接口
 * </p>
 *
 * @author Gdc
 * @since 2022-05-24
 */
public interface ContractInventoryDistributionMapper extends BaseMapper<ContractInventoryDistribution> {
    /**
     * 根据条件查询合同/收购库存分布总数
     *
     * @param pageView
     * @return
     */
    Integer getContractInventoryCountByCondition(Map<String, Object> pageView);

    /**
     * 根据条件查询合同/收购库存分布列表
     *
     * @param pageView
     * @return
     */
    List<ContractInventoryDistribution> getContractInventoryListByCondition(Map<String, Object> pageView);
}
