部门修改不允许最后层级节点选择

This commit is contained in:
RuoYi
2018-12-01 18:39:54 +08:00
parent 6a592827e8
commit d24481f9a5
5 changed files with 26 additions and 8 deletions

View File

@@ -149,7 +149,7 @@ public class SysDeptController extends BaseController
@ResponseBody
public List<Map<String, Object>> treeData()
{
List<Map<String, Object>> tree = deptService.selectDeptTree();
List<Map<String, Object>> tree = deptService.selectDeptTree(new SysDept());
return tree;
}