| | |
| | | package org.jeecg.modules.dnc.mapper; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | |
| | | import org.jeecg.modules.dnc.dto.ComponentExt; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.apache.ibatis.annotations.Select; |
| | | import org.jeecg.modules.dnc.dto.ComponentExt; |
| | | import org.jeecg.modules.dnc.entity.ComponentInfo; |
| | | |
| | | import java.util.List; |
| | |
| | | */ |
| | | List<ComponentExt> getByParentIdAndUserPerms(@Param("parentId") String parentId, @Param("userId") String userId); |
| | | |
| | | @Select("SELECT * FROM nc_component_info WHERE component_id = #{componentId}") |
| | | ComponentInfo selectById(@Param("componentId") String componentId); |
| | | |
| | | // 递归查询部件层级结构 |
| | | List<ComponentInfo> findComponentHierarchy(@Param("componentId") String componentId); |
| | | |
| | | } |