From 3de771de14536d71d0d643be55c254df27a7e648 Mon Sep 17 00:00:00 2001 From: river <1376754470@qq.com> Date: Thu, 17 Dec 2020 14:52:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8C=87=E6=B4=BE=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E5=90=8D=E7=A7=B0=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= =?UTF-8?q?=EF=BC=8C=E6=96=B0=E5=A2=9E=E5=91=98=E5=B7=A5=E6=97=B6=E8=A7=92?= =?UTF-8?q?=E8=89=B2=E4=B8=8D=E5=AD=98=E5=9C=A8=E7=9A=84=E6=8F=90=E7=A4=BA?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../daqing/financial/hrms/controller/EmployeeController.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dq-financial-hrms/src/main/java/com/daqing/financial/hrms/controller/EmployeeController.java b/dq-financial-hrms/src/main/java/com/daqing/financial/hrms/controller/EmployeeController.java index 182cf632..bf563dbe 100644 --- a/dq-financial-hrms/src/main/java/com/daqing/financial/hrms/controller/EmployeeController.java +++ b/dq-financial-hrms/src/main/java/com/daqing/financial/hrms/controller/EmployeeController.java @@ -69,8 +69,7 @@ public class EmployeeController implements EmployeeControllerApi { @PostMapping("/tree") public ResponseResult tree(@RequestBody List ids) { List result = employeeService.permissionTreeList(ids); - return result == null ? new ResponseResult(CommonCode.PERMISSION_IS_NOT) : - new ResponseResult>().SUCCESS(result); + return ResponseResult.SUCCESS(result); } /**