package com.jwipc.sys.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jwipc.sys.entity.PurchaseGroup;
import com.jwipc.sys.model.po.PurchaseGroupPO;
import com.jwipc.sys.model.query.PurchaseGroupQuery;

import java.util.List;

/**
 * <p>
 * 采购组主数据 服务类
 * </p>
 *
 * @author zhangjie
 * @since 2024-01-27
 */
public interface IPurchaseGroupService extends IService<PurchaseGroup> {
    List<PurchaseGroupPO> findPageByQuery(Page<PurchaseGroup> dbPage, PurchaseGroupQuery query);

    PurchaseGroupPO getDataById(Long id);

    PurchaseGroupPO getDataByCode(String purchaseGroupCode);
}
