PurchasePlanMapper.java 1.1 KB
package com.skua.modules.erp.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.skua.modules.erp.entity.PurchaseMaterial;
import com.skua.modules.erp.entity.PurchasePlanItem;
import com.skua.modules.erp.vo.PurchasePlanSearchVO;
import org.apache.ibatis.annotations.Param;
import com.skua.modules.erp.entity.PurchasePlan;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * erp采购计划表
 */
public interface PurchasePlanMapper extends BaseMapper<PurchasePlan> {


    /***
     * 统计分页
     * @param page
     * @param purchasePlanSearchVO
     * @return
     */
    IPage<PurchasePlanItem> statisticsPage(Page<PurchasePlanItem> page, @Param("ev") PurchasePlanSearchVO purchasePlanSearchVO);

    /***
     *  查询某一物料的的采购计划物料清单
     * @param page
     * @return
     */
    IPage<PurchasePlanItem> statisticsPageBySparepartId(Page<PurchasePlanItem> page,  @Param("ev")PurchasePlanSearchVO purchasePlanSearchVO);

}