管道基础大数据平台系统开发-【后端】-Server
13693261870
2024-02-27 8f2042ce63ceb46b8c14e7f6e72bfe80492e64d1
src/main/java/com/lf/server/mapper/data/DirMapper.java
@@ -72,6 +72,14 @@
    public DirEntity selectDir(int id);
    /**
     * 根据Code查询目录
     *
     * @param code
     * @return
     */
    public DirEntity selectByCode(String code);
    /**
     * 查询多条数据
     *
     * @return
@@ -88,17 +96,10 @@
    /**
     * 查询项目
     *
     * @return
     */
    public List<DirEntity> selectProject();
    /**
     * 递归查询
     *
     * @param name
     * @return
     */
    public List<DirEntity> selectDirRecursive(String name);
    public List<DirEntity> selectProject(String name);
    /**
     * 递归查询
@@ -107,4 +108,27 @@
     * @return
     */
    public List<DirEntity> selectRecursiveById(Integer id);
    /**
     * 查询项目目录树
     *
     * @return
     */
    public List<DirEntity> selectDirsForPrj();
    /**
     * 根据父ID查找最大排序号
     *
     * @return
     */
    public Integer selectMaxOrderNum();
    /**
     * 根据名称查找目录
     *
     * @param name
     * @param pid
     * @return
     */
    public DirEntity selectDirByName(String name, Integer pid);
}