IPurchaseMaterialService.java 972 字节
package com.skua.modules.erp.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.skua.modules.erp.entity.DistributContract;
import com.skua.modules.erp.entity.PurchaseMaterial;
import com.baomidou.mybatisplus.extension.service.IService;
import com.skua.modules.erp.vo.PurchasePlanSearchVO;

import java.util.List;

/**
 * 采购物料清单
 */
public interface IPurchaseMaterialService extends IService<PurchaseMaterial> {

    /***
     * 分页查询采购物料清单
     * @param page
     * @param goodCode
     * @param departId
     * @return
     */
    IPage<PurchaseMaterial> queryByPage(Page<PurchaseMaterial> page, String goodCode, String departId);

    /***
     * 根据货号查询采购合同物料清单
     * @param goodCode
     * @param departId
     * @return
     */
    List<PurchaseMaterial> queryMaterialByGoodCode(String goodCode, String departId);


}