|
@@ -26,8 +26,8 @@ public class ManageController {
|
|
|
@Autowired
|
|
|
DepartmentService departmentService;
|
|
|
|
|
|
- @PostMapping("/list")
|
|
|
- public ApiResult findManage(@RequestBody ManageVO manageVO){
|
|
|
+ @GetMapping
|
|
|
+ public ApiResult findManage(ManageVO manageVO){
|
|
|
ApiResult<List<Department>> deptResult = departmentService.getDeptChild(manageVO.getDeptId() == null ? 0l : manageVO.getDeptId());
|
|
|
List<Long> deptIds = new ArrayList<>();
|
|
|
deptResult.getData().stream().forEach(department -> {
|