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

import com.baomidou.mybatisplus.extension.service.IService;
import com.zzsmart.qomo.kn.cost.manage.entity.AppSceneCostBomRelevancy;
import com.zzsmart.qomo.kn.cost.manage.vo.BomTreeVo;

import java.util.List;

/**
 * @Description: app_scene_cost_bom_relevancy
 * @Author: jeecg-boot
 * @Date:   2024-09-08
 * @Version: V1.0
 */
public interface IAppSceneCostBomRelevancyService extends IService<AppSceneCostBomRelevancy> {
    /**
     * 分页查询
     * @param
     * @return
     */
    List<AppSceneCostBomRelevancy> queryListResult(String materialNumber);

    /**
     * 查询最顶层物料编号下所有的物料
     * @param topMaterialCode
     * @return
     */
    List<BomTreeVo> queryAllBomInfoByTopMaterialCode(String topMaterialCode,String werks);

}
