|
@@ -4160,7 +4160,7 @@ public class ExcelTabServiceImpl extends BaseServiceImpl<ExcelTabMapper, ExcelTa
|
|
|
|
|
|
Row row = sheet.getRow(y1 - 1);
|
|
|
if (row != null) {
|
|
|
- Cell cell = row.getCell(x1 - 1);
|
|
|
+ Cell cell = row.getCell(x1 - 1, Row.MissingCellPolicy.CREATE_NULL_AS_BLANK);
|
|
|
if (cell != null || ObjectUtils.isNotEmpty(cell)) {
|
|
|
short fontIndex = cell.getCellStyle().getFontIndex();
|
|
|
Font oldfontAt = workbook.getFontAt(fontIndex);
|