throw new ClipsServerException("Ошибка при получении отчета", ex);
}
}
private JasperPrint buildReport(Map<String, Object> parameters) throws ClipsServerException, JRException{
ReportBeanRemote bean = getBean(ReportBean.class);
DiseaseReport entity = getExistentEntity();
bean.initByID(entity.getReport().getId(), getSessionId());
return bean.getReport(parameters);
}