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

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

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

/**
 * <p>
 * 采购订单 Mapper 接口
 * </p>
 *
 * @author Gongdc
 * @since 2021-07-22
 */
public interface PurchaseOrderMapper extends BaseMapper<PurchaseOrder> {

    /**
     * 根据条件查询采购订单总数
     *
     * @param pageView
     * @return
     */
    Integer getCountByCondition(Map<String, Object> pageView);

    /**
     * 根据条件查询采购订单列表
     *
     * @param pageView
     * @return
     */
    List<PurchaseOrder> getListByCondition(Map<String, Object> pageView);
    /**
     * 根据条件查询我的合同列表
     *
     * @param pageView
     * @return
     */
    List<PurchaseOrder> getListByConditionApp(Map<String, Object> pageView);
}
