fixes bug #7578
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@57617 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
85f25e52c6
commit
1d6ca3388b
|
@ -666,6 +666,7 @@ public class ModificacionMasivaTarifasController extends MyGenericForwardCompose
|
||||||
HSSFSheet sheet1 = null;
|
HSSFSheet sheet1 = null;
|
||||||
String ruta = "";
|
String ruta = "";
|
||||||
int contRow = 0;
|
int contRow = 0;
|
||||||
|
int contPlan = 0;
|
||||||
|
|
||||||
for (int i = 0; i < lsRutaCombinacion.size(); i++) {
|
for (int i = 0; i < lsRutaCombinacion.size(); i++) {
|
||||||
Object[] obj = (Object[]) lsRutaCombinacion.get(i);
|
Object[] obj = (Object[]) lsRutaCombinacion.get(i);
|
||||||
|
@ -680,8 +681,10 @@ public class ModificacionMasivaTarifasController extends MyGenericForwardCompose
|
||||||
sheetName = (obj[12].toString().concat("-").concat(obj[4].toString()));
|
sheetName = (obj[12].toString().concat("-").concat(obj[4].toString()));
|
||||||
}
|
}
|
||||||
sheetName = sheetName.replaceAll("/", "-");
|
sheetName = sheetName.replaceAll("/", "-");
|
||||||
log.debug("Aba: " + sheetName);
|
|
||||||
|
|
||||||
|
sheetName += ++contPlan;
|
||||||
|
|
||||||
|
log.debug("Aba: " + sheetName);
|
||||||
sheet1 = wb.createSheet(sheetName);
|
sheet1 = wb.createSheet(sheetName);
|
||||||
contRow = 1;
|
contRow = 1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue