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); } /**