Ztree树结构优化
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
package com.ruoyi.system.service;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import com.ruoyi.common.base.Ztree;
|
||||
import com.ruoyi.system.domain.SysDept;
|
||||
import com.ruoyi.system.domain.SysRole;
|
||||
|
||||
@ -26,7 +26,7 @@ public interface ISysDeptService
|
||||
* @param dept 部门信息
|
||||
* @return 所有部门信息
|
||||
*/
|
||||
public List<Map<String, Object>> selectDeptTree(SysDept dept);
|
||||
public List<Ztree> selectDeptTree(SysDept dept);
|
||||
|
||||
/**
|
||||
* 根据角色ID查询菜单
|
||||
@ -34,7 +34,7 @@ public interface ISysDeptService
|
||||
* @param role 角色对象
|
||||
* @return 菜单列表
|
||||
*/
|
||||
public List<Map<String, Object>> roleDeptTreeData(SysRole role);
|
||||
public List<Ztree> roleDeptTreeData(SysRole role);
|
||||
|
||||
/**
|
||||
* 查询部门人数
|
||||
|
Reference in New Issue
Block a user