Browse Source

修改提示

pull/2177/head
Jiaju Zhuang 3 years ago
parent
commit
7dcba4cc88
  1. 3
      src/main/java/com/alibaba/excel/write/executor/AbstractExcelWriteExecutor.java

3
src/main/java/com/alibaba/excel/write/executor/AbstractExcelWriteExecutor.java

@ -334,7 +334,8 @@ public abstract class AbstractExcelWriteExecutor implements ExcelWriteExecutor {
} }
if (cellData == null || cellData.getType() == null) { if (cellData == null || cellData.getType() == null) {
throw new ExcelWriteDataConvertException(cellWriteHandlerContext, throw new ExcelWriteDataConvertException(cellWriteHandlerContext,
"Convert data:" + cellWriteHandlerContext.getOriginalValue() + " return null, at row:" "Convert data:" + cellWriteHandlerContext.getOriginalValue()
+ " return is null or return type is null, at row:"
+ cellWriteHandlerContext.getRowIndex()); + cellWriteHandlerContext.getRowIndex());
} }
return cellData; return cellData;

Loading…
Cancel
Save