@ -88,7 +88,7 @@ public interface AnalysisContext {
/**
* Data that the customer needs to read
*
* @return
* @param readSheetList
*/
void readSheetList(List<ReadSheet> readSheetList);
@ -37,7 +37,7 @@ public class ExcelWriteAddExecutor extends AbstractExcelWriteExecutor {
public void add(List data) {
if (CollectionUtils.isEmpty(data)) {
return;
data = new ArrayList();
}
WriteSheetHolder writeSheetHolder = writeContext.writeSheetHolder();
int newRowIndex = writeSheetHolder.getNewRowIndexAndStartDoWrite();
@ -84,6 +84,9 @@ public class ExcelWriteFillExecutor extends AbstractExcelWriteExecutor {
public void fill(Object data, FillConfig fillConfig) {
if (data == null) {
data = new HashMap<String,Object>(16);
if (fillConfig == null) {
fillConfig = FillConfig.builder().build(true);