From 6764e848c2f1e9ab4ed9c8551ed21da4bc2fced9 Mon Sep 17 00:00:00 2001 From: wulin Date: Tue, 20 Oct 2020 16:00:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=83=A8=E9=97=A8type?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E4=B8=8D=E8=B5=B7=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/lz/modules/app/controller/DepartmentsController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/lz/modules/app/controller/DepartmentsController.java b/src/main/java/com/lz/modules/app/controller/DepartmentsController.java index 959ee241..153521b8 100644 --- a/src/main/java/com/lz/modules/app/controller/DepartmentsController.java +++ b/src/main/java/com/lz/modules/app/controller/DepartmentsController.java @@ -44,7 +44,7 @@ public class DepartmentsController { @ApiOperation("获取全部有效部门树列表") @ApiResponses({@ApiResponse(code = 200, message = "成功", response = DepartmentsDto.class)}) public List deplist(@RequestParam @ApiParam(value = "请求类型0 请求部门不包含人员列表,1同时返回人员列表") int type) { - List departmentList = departmentsService.getDepartmentTree(1); + List departmentList = departmentsService.getDepartmentTree(type); return departmentList; }