| | |
| | | map.put("title", dept.getName()); |
| | | map.put("id", dept.getId()); |
| | | map.put("spread", true); |
| | | map.put("type", 0); |
| | | map.put("key", "dept_id"); |
| | | // map.put("icon", "layui-icon layui-icon-star-fill"); |
| | | List<Map<String, Object>> childrens = new ArrayList<>(); |
| | | map.put("children", childrens); |
| | | dealUserDept(dept, childrens, hostId); |
| | |
| | | Map<String, Object> map = new HashMap<>(); |
| | | map.put("title", user.getNickname()); |
| | | map.put("id", user.getId()); |
| | | map.put("type", 1); |
| | | map.put("key", "user_id"); |
| | | map.put("icon", "layui-icon layui-icon-friends"); |
| | | list.add(map); |
| | | } |
| | | |
| | |
| | | map.put("title", dept.getName()); |
| | | map.put("id", dept.getId()); |
| | | map.put("spread", true); |
| | | map.put("key", "dept_id"); |
| | | // map.put("icon", "layui-icon layui-icon-star-fill"); |
| | | List<Map<String, Object>> childrens = new ArrayList<>(); |
| | | map.put("children", childrens); |
| | | dealUserDept(dept, childrens, hostId); |