git-svn-id: https://svn.coded.pt/svn/SIPRP@983 bb69d46d-e84e-40c8-a05a-06db0d633741

0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
Frederico Palma 17 years ago
parent bb65b9d918
commit 6f34ce62e9

@ -13,9 +13,9 @@ import com.evolute.utils.xml.XSLTransformer;
public class RelatorioPDFCreator
{
public byte[] createPDF( Integer planoId ) throws Exception
public byte[] createPDF( Integer relatorioId ) throws Exception
{
RelatorioToPrint relatorio = RelatorioPrintDataProvider.getProvider().getRelatorioToPrint( planoId );
RelatorioToPrint relatorio = RelatorioPrintDataProvider.getProvider().getRelatorioToPrint( relatorioId );
Document foDoc = new Document( relatorio.toJdomElement() );
XMLOutputter outputter = new XMLOutputter();
ByteArrayOutputStream foBaos = new ByteArrayOutputStream();

Loading…
Cancel
Save