package com.jwipc.sys.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jwipc.sys.entity.ProductInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jwipc.sys.model.po.ProductInfoPO;
import com.jwipc.sys.model.query.ProductQuery;

import java.util.List;

/**
 * <p>
 * 物料主数据 服务类
 * </p>
 *
 * @author shenyang.ou
 * @since 2024-02-03
 */
public interface IProductInfoService extends IService<ProductInfo> {

    List<ProductInfoPO> findPageByQuery(Page<ProductInfo> dbPage, ProductQuery query);

//    List<ProductInfoPO>  findByQuery(String materialCode, String factoryCode);

    List<ProductInfoPO> findByQuery(Page<ProductInfo> dbPage, ProductQuery query);

    List<ProductInfoPO> findByQuery1(Page<ProductInfo> dbPage, ProductQuery query);;
}
