|
|
@ -50,9 +50,6 @@ public class ExcelBuilderImpl implements ExcelBuilder { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void addContent(List data, WriteSheet writeSheet, WriteTable writeTable) { |
|
|
|
public void addContent(List data, WriteSheet writeSheet, WriteTable writeTable) { |
|
|
|
try { |
|
|
|
try { |
|
|
|
if (data == null) { |
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
context.currentSheet(writeSheet, WriteTypeEnum.ADD); |
|
|
|
context.currentSheet(writeSheet, WriteTypeEnum.ADD); |
|
|
|
context.currentTable(writeTable); |
|
|
|
context.currentTable(writeTable); |
|
|
|
if (excelWriteAddExecutor == null) { |
|
|
|
if (excelWriteAddExecutor == null) { |
|
|
@ -105,9 +102,6 @@ public class ExcelBuilderImpl implements ExcelBuilder { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void addContent(List data, WriteSheet writeSheet, WriteTable writeTable, String password) { |
|
|
|
public void addContent(List data, WriteSheet writeSheet, WriteTable writeTable, String password) { |
|
|
|
try { |
|
|
|
try { |
|
|
|
if (data == null) { |
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
context.currentSheet(writeSheet, WriteTypeEnum.ADD); |
|
|
|
context.currentSheet(writeSheet, WriteTypeEnum.ADD); |
|
|
|
context.currentTable(writeTable); |
|
|
|
context.currentTable(writeTable); |
|
|
|
if (excelWriteAddExecutor == null) { |
|
|
|
if (excelWriteAddExecutor == null) { |
|
|
|