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

import com.yh.saas.plugin.yiliangyiyun.entity.ProcurementPlanInfo;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.yh.saas.plugin.yiliangyiyun.entity.TranTaskInfo;
import com.yh.saas.plugin.yiliangyiyun.entity.view.ReleaseView;

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

/**
 * <p>
 * 记录采购计划 Mapper 接口
 * </p>
 *
 * @author Gongdc
 * @since 2021-07-20
 */
public interface ProcurementPlanInfoMapper extends BaseMapper<ProcurementPlanInfo> {

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

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

    /**
     * 根据条件查询我的发布列表
     *
     * @param pageView
     * @return
     */
    List<ReleaseView> getListByConditionAPP(Map<String, Object> pageView);
}
