fixes bug#13207

dev:julio
qua:julio

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@88699 d1611594-4594-4d17-8e1d-87c2c4800839
master
julio 2019-01-10 01:57:53 +00:00
parent c82133cdac
commit 991096e81f
2 changed files with 4 additions and 25 deletions

View File

@ -151,12 +151,7 @@ public class RelatorioDevolucaoBilhetes extends Relatorio {
String xml_bpe = rset.getNString("XML_BPE"); String xml_bpe = rset.getNString("XML_BPE");
String xml_bpe_2 = rset.getNString("XML_BPE_2"); String xml_bpe_2 = rset.getNString("XML_BPE_2");
String xml_bpe_3 = rset.getNString("XML_BPE_3"); String xml_bpe_3 = rset.getNString("XML_BPE_3");
String[] array = new String[3]; xml = StringUtils.join(new String[] { xml_bpe, xml_bpe_2, xml_bpe_3 });
array[0] = xml_bpe;
array[1] = xml_bpe_2;
array[2] = xml_bpe_3;
xml = StringUtils.join(array);
} }
db.setValorIcms(BigDecimal.ZERO); db.setValorIcms(BigDecimal.ZERO);

View File

@ -74,29 +74,13 @@ public class RelatorioFinanceiroSintetico extends Relatorio {
if (isBpe) { if (isBpe) {
String xml_bpe_rec = rset.getNString("xml_bpe_rec"); String xml_bpe_rec = rset.getNString("xml_bpe_rec");
String xml_bpe_rec_2 = rset.getNString("xml_bpe_rec_2"); String xml_bpe_rec_2 = rset.getNString("xml_bpe_rec_2");
String xml_bpe_rec_3 = null; String xml_bpe_rec_3 = rset.getNString("xml_bpe_rec_3");
try { xmlRec = StringUtils.join(new String[] { xml_bpe_rec, xml_bpe_rec_2, xml_bpe_rec_3 });
xml_bpe_rec_3 = rset.getNString("xml_bpe_rec_3");
} catch (Exception e) {
System.out.println("error");
}
String[] array = new String[3];
array[0] = xml_bpe_rec;
array[1] = xml_bpe_rec_2;
array[2] = xml_bpe_rec_3;
xmlRec = StringUtils.join(array);
String xml_bpe_dev = rset.getNString("xml_bpe_dev"); String xml_bpe_dev = rset.getNString("xml_bpe_dev");
String xml_bpe_dev_2 = rset.getNString("xml_bpe_dev_2"); String xml_bpe_dev_2 = rset.getNString("xml_bpe_dev_2");
String xml_bpe_dev_3 = rset.getNString("xml_bpe_dev_3"); String xml_bpe_dev_3 = rset.getNString("xml_bpe_dev_3");
String[] arrayDev = new String[3]; xmlDev = StringUtils.join(new String[] { xml_bpe_dev, xml_bpe_dev_2, xml_bpe_dev_3 });
arrayDev[0] = xml_bpe_dev;
arrayDev[1] = xml_bpe_dev_2;
arrayDev[2] = xml_bpe_dev_3;
xmlDev = StringUtils.join(arrayDev);
} }
BigDecimal valorContabilRec = BigDecimal.ZERO; BigDecimal valorContabilRec = BigDecimal.ZERO;