Skip to content

Commit 0e72df2

Browse files
committed
+ excel parser fix
1 parent 350e59e commit 0e72df2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/app/service/excel/ExcelService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ private DistantCellWrapper getDistantCellValue(Sheet sheet, int rowIndex, int co
548548
CellRangeAddress range = sheet.getMergedRegion(i);
549549
if (range.isInRange(rowIndex, colIndex)) {
550550
Row firstRow = sheet.getRow(range.getFirstRow());
551-
Cell firstCell = firstRow.getCell(range.getFirstColumn());
551+
Cell firstCell = firstRow.getCell(colIndex);
552552

553553
if (firstCell != null && (firstCell.getCellType() != CellType.BLANK || !firstCell.getStringCellValue().isEmpty())) {
554554

0 commit comments

Comments
 (0)