|
@@ -306,6 +306,11 @@ public class XlsSheetUtil {
|
|
|
|
|
|
for(int i = rows.getIntValue(0), j = rows.getIntValue(1); i <= j; i++) {
|
|
|
Row row = sheet.getRow(i);
|
|
|
+
|
|
|
+ if(row == null) {
|
|
|
+ row = sheet.createRow(i);
|
|
|
+ }
|
|
|
+
|
|
|
for(int colStart = cols.getIntValue(0), colEnd = cols.getIntValue(1); colStart <= colEnd; colStart++) {
|
|
|
|
|
|
Cell cell = row.getCell(colStart);
|