/**
* 文件：MateriaBomTreeService.java
* 版本：1.0.0
* 日期：
* Copyright &reg; 
* All right reserved.
*/

package com.mortals.xhx.module.materia.service;

import com.mortals.framework.model.Context;
import com.mortals.framework.service.ICRUDService;
import com.mortals.xhx.module.materia.model.MateriaBomTreeEntity;

/**
 * <p>Title: 物料BOM类目(产品树)</p>
 * <p>Description: MateriaBomTreeService service接口 </p>
 * <p>Copyright: Copyright &reg;  </p>
 * <p>Company: </p>
 * @author 
 * @version 1.0.0
 */

public interface MateriaBomTreeService extends ICRUDService<MateriaBomTreeEntity,Long>{
    /**
     * @Description 根据parentId查询当前Level
     * @param parentId
     * @param level
     * @param context
     * @Return boolean
     * @date 2021/3/18 16:54
     * @Author fuJun
     */
    boolean checklevel(Long parentId, Integer level, Context context);

    void checkBom(Long treeId,Context context);
	
}