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

import com.yh.saas.plugin.yiliangyiyun.entity.PaymentManagement;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.yh.saas.plugin.yiliangyiyun.entity.view.ExportVView;

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

/**
 * <p>
 * 付款管理 Mapper 接口
 * </p>
 *
 * @author Gdc
 * @since 2021-09-06
 */
public interface PaymentManagementMapper extends BaseMapper<PaymentManagement> {

    /**
     * 根据条件查询付款管理总数
     *
     * @param pageView
     * @return
     */
    Integer getCountByCondition(Map<String, Object> pageView);

    /**
     * 根据条件查询付款管理列表
     *
     * @param pageView
     * @return
     */
    List<PaymentManagement> getListByCondition(Map<String, Object> pageView);

    /**
     * 查询客户销售吨数
     *
     * @param pageView
     * @return
     */
    Float getCustomerCount(Map<String, Object> pageView);

    /**
     * 根据条件查询付款列表
     *
     * @param pageView
     * @return
     */
    List<PaymentManagement> getListByConditionOut(Map<String, Object> pageView);
}
