package com.jwipc.supplier.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jwipc.page.PageView;
import com.jwipc.supplier.entity.Supplier;
import com.jwipc.supplier.model.param.ChoseSupplierListParam;
import com.jwipc.supplier.model.po.SupplierReportPO;
import com.jwipc.supplier.model.po.SupplierSelectPO;
import com.jwipc.supplier.model.query.SupplierPurchaseCategoryBaseQuery;
import com.jwipc.supplier.model.query.SupplierSelectQuery;

import java.util.List;

/**
 * <p>
 * 供应商主信息 服务类
 * </p>
 *
 * @author zhangjie
 * @since 2024-01-31
 */
public interface ISupplierService extends IService<Supplier> {

    List<String> getTableStruct();

    List<SupplierSelectPO> getListForSelect(Page<SupplierSelectPO> page, SupplierSelectQuery query);

    PageView getSupplierList(ChoseSupplierListParam choseSupplierListParam);


    List<SupplierReportPO> findForSupplierReportExport(SupplierPurchaseCategoryBaseQuery query);
}
