package com.jwipc.supplier.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jwipc.supplier.entity.SupplierPurchaseCategory;
import com.jwipc.supplier.model.po.SupplierProductTypeDMPO;
import com.jwipc.supplier.model.po.SupplierPurchaseCategoryListPO;
import com.jwipc.supplier.model.query.SupplierPurchaseCategoryBaseQuery;

import java.util.List;

/**
 * <p>
 * 供应商物料品类关联表 服务类
 * </p>
 *
 * @author ZhangJie
 * @since 2024-02-21
 */
public interface ISupplierPurchaseCategoryService extends IService<SupplierPurchaseCategory> {

    List<SupplierPurchaseCategoryListPO> findPage(Page<SupplierPurchaseCategoryListPO> page, SupplierPurchaseCategoryBaseQuery query);

    List<SupplierPurchaseCategoryListPO> findMainPage(Page<SupplierPurchaseCategoryListPO> page, SupplierPurchaseCategoryBaseQuery query);

    List<SupplierProductTypeDMPO> findForProducttypedmReportExport(SupplierPurchaseCategoryBaseQuery query);

    List<SupplierPurchaseCategoryListPO> findPOForIds(List<String> list);

    SupplierPurchaseCategory findCurryCode(String supplierCode);
}
