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

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

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

/**
 * <p>
 * 销售订单 Mapper 接口
 * </p>
 *
 * @author Gongdc
 * @since 2021-08-04
 */
public interface SaleOrderMapper extends BaseMapper<SaleOrder> {
    /**
     * 根据条件查询销售订单总数
     *
     * @param pageView
     * @return
     */
    Integer getCountByCondition(Map<String, Object> pageView);

    /**
     * 根据条件查询销售订单列表
     *
     * @param pageView
     * @return
     */
    List<SaleOrder> getListByCondition(Map<String, Object> pageView);

}
