|
|
@@ -115,7 +115,7 @@ public class SysDeptController extends BaseController {
|
|
115
|
115
|
|
|
116
|
116
|
@PostMapping("/teamList")
|
|
117
|
117
|
public AjaxResult teamList(@RequestBody SysDept dept) {
|
|
118
|
|
- return success(buildTree(deptService.selectDeptList(dept)));
|
|
|
118
|
+ return success(buildTree(deptService.selectDeptInfoAll(dept)));
|
|
119
|
119
|
}
|
|
120
|
120
|
|
|
121
|
121
|
private Map<String, String> buildTree(List<SysDept> list) {
|