package org.jeecg.modules.dnc.service;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import org.jeecg.modules.dnc.entity.ProductMix;
|
|
import java.util.List;
|
|
public interface IProductMixService extends IService<ProductMix> {
|
|
//获取封装产品结构树
|
List<ProductMix> getTree();
|
|
/**
|
* 查询对应id的所有父级(权限分配使用)
|
* @param id
|
* @return
|
*/
|
List<ProductMix> getParentList(String id);
|
|
/**
|
* 查询对应id的所有子节点(权限分配使用)
|
* @param id
|
* @return
|
*/
|
List<ProductMix> getChildrenList(String id);
|
|
}
|