Erro - Modificação Massiva de Preços (fixes bug #6227)
Tempo: 02 horas git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@43435 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
25b6eb51da
commit
6acaf374b2
|
@ -339,12 +339,13 @@ public class ModificacionMasivaTarifasController extends MyGenericForwardCompose
|
|||
ruta = obj[4].toString().concat(obj[12].toString());
|
||||
String sheetName = "";
|
||||
if (obj[4].toString().length() > 26) {
|
||||
sheetName = (obj[4].toString().substring(0, 26).concat(" (").concat(obj[12].toString()).concat(")"));
|
||||
sheetName = (obj[12].toString().concat("-").concat(obj[4].toString().substring(0, 26)));
|
||||
} else {
|
||||
sheetName = (obj[4].toString().concat(" (").concat(obj[12].toString()).concat(")"));
|
||||
sheetName = (obj[12].toString().concat("-").concat(obj[4].toString()));
|
||||
}
|
||||
sheetName = sheetName.replaceAll("/", "-");
|
||||
log.debug("Aba: " + sheetName);
|
||||
|
||||
sheet1 = wb.createSheet(sheetName);
|
||||
contRow = 1;
|
||||
|
||||
|
@ -416,7 +417,6 @@ public class ModificacionMasivaTarifasController extends MyGenericForwardCompose
|
|||
Labels.getLabel("busquedaTarifaController.lhPrecioNuevo.label"));
|
||||
cell10.setCellStyle(estilo);
|
||||
|
||||
|
||||
HSSFCell cell12 = rowCabecalho.createCell(12);
|
||||
cell12.setCellValue(
|
||||
Labels.getLabel("busquedaTarifaController.lhPrecioPedagio.label"));
|
||||
|
@ -476,7 +476,6 @@ public class ModificacionMasivaTarifasController extends MyGenericForwardCompose
|
|||
wb.write(stream);
|
||||
stream.close();
|
||||
|
||||
|
||||
InputStream is = null;
|
||||
is = new FileInputStream(fNomeArquivo);
|
||||
Filedownload.save(is, "application/xls", "modificacionMasivaTarifa.xls");
|
||||
|
|
Loading…
Reference in New Issue