Browse Source

修复合并策略 空指针的问题

pull/843/head
Jiaju Zhuang 5 years ago
parent
commit
76cd90fe0e
  1. 2
      src/main/java/com/alibaba/excel/write/executor/ExcelWriteFillExecutor.java

2
src/main/java/com/alibaba/excel/write/executor/ExcelWriteFillExecutor.java

@ -205,7 +205,7 @@ public class ExcelWriteFillExecutor extends AbstractExcelWriteExecutor {
} }
} }
private int getRelativeRowIndex() { private Integer getRelativeRowIndex() {
Integer sheetNo = writeContext.writeSheetHolder().getSheetNo(); Integer sheetNo = writeContext.writeSheetHolder().getSheetNo();
Integer relativeRowIndex = relativeRowIndexMap.get(sheetNo); Integer relativeRowIndex = relativeRowIndexMap.get(sheetNo);
if (relativeRowIndex == null) { if (relativeRowIndex == null) {

Loading…
Cancel
Save