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