|
@ -72,7 +72,7 @@ public class RoleReportRelationEndPoint extends EnvelopRestEndPoint {
|
|
|
@RequestParam(value = "page", required = false) int page,
|
|
|
HttpServletRequest request,
|
|
|
HttpServletResponse response) throws Exception {
|
|
|
List<MRoleReportRelation> roleFeatureRelations = roleReportRelationService.search(fields, filters, sorts, page, size);
|
|
|
List<MRoleReportRelation> roleFeatureRelations = (List<MRoleReportRelation>)roleReportRelationService.search(fields, filters, sorts, page, size);
|
|
|
pagedResponse(request, response, roleReportRelationService.getCount(filters), page, size);
|
|
|
return convertToModels(roleFeatureRelations, new ArrayList<MRoleReportRelation>(roleFeatureRelations.size()), MRoleReportRelation.class, fields);
|
|
|
}
|