package com.jwipc.sys.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jwipc.sys.entity.Factory;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jwipc.sys.model.po.FactoryPO;
import com.jwipc.sys.model.query.FactoryQuery;

import java.util.List;

/**
 * <p>
 * 工厂/分支机构（只同步WERKS、 NAME1） 服务类
 * </p>
 *
 * @author shenyang.ou
 * @since 2024-01-29
 */
public interface IFactoryService extends IService<Factory> {

    List<FactoryPO> findPageByQuery(Page<Factory> dbPage, FactoryQuery query);

    FactoryPO getDataById(Long id);

    List<FactoryPO> findAllByQuery(FactoryQuery query);
}
