package com.zzsmart.qomo.kn.cost.manage.service;

import com.zzsmart.qomo.kn.cost.manage.entity.CostMaterialBom;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 物料bom 服务类
 * </p>
 *
 * @author
 * @since 2024-06-21
 */
public interface CostMaterialBomService extends IService<CostMaterialBom> {
    /**
     * 分页查询
     * @param
     * @return
     */
    List<CostMaterialBom> queryListResult(String materialNumber);

    /**
     * 查询最顶层物料编号下所有的物料
     * @param topMaterialCode
     * @return
     */
    List<CostMaterialBom> queryAllBomInfoBytopMaterialCode(String topMaterialCode);
}
