package com.jwipc.sys.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jwipc.sys.entity.MoldForm;
import com.jwipc.sys.entity.ProductGroup;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jwipc.sys.model.po.MoldFormPO;
import com.jwipc.sys.model.po.ProductGroupPO;
import com.jwipc.sys.model.query.MoldFormQuery;
import com.jwipc.sys.model.query.ProductGroupQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 物料组描述(只需同步MATKL、WGBEZ60) Mapper 接口
 * </p>
 *
 * @author AL
 * @since 2024-02-18
 */
public interface ProductGroupMapper extends BaseMapper<ProductGroup> {

    List<ProductGroupPO> findPageByQuery(@Param("query") ProductGroupQuery query);

    List<ProductGroupPO> findPageByQuery(Page<ProductGroup> dbPage, @Param("query") ProductGroupQuery query);

    ProductGroupPO getDataById(@Param("id") Long id);
}
