|  |  |  | 
|---|
|  |  |  | @RequiresPermissions("system:permission:query") | 
|---|
|  |  |  | public ApiResponse<List<SystemPermission>> findAll () { | 
|---|
|  |  |  | SystemPermission systemPermission = new SystemPermission(); | 
|---|
|  |  |  | systemPermission.setTypeList(Arrays.asList(new Integer[]{Constants.ZERO,Constants.THREE})); | 
|---|
|  |  |  | //        systemPermission.setTypeList(Arrays.asList(new Integer[]{Constants.ZERO,Constants.THREE})); | 
|---|
|  |  |  | systemPermission.setDeleted(Boolean.FALSE); | 
|---|
|  |  |  | return ApiResponse.success(systemPermissionService.findList(systemPermission)); | 
|---|
|  |  |  | return ApiResponse.success(systemPermissionService.findList(systemPermission,getLoginUser().getType())); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|